mirror of
https://github.com/ViViDboarder/shoestrap.git
synced 2024-11-22 20:16:31 +00:00
16 lines
367 B
Plaintext
16 lines
367 B
Plaintext
|
#! /bin/bash
|
||
|
|
||
|
set -e
|
||
|
|
||
|
cd "$TMP"
|
||
|
|
||
|
curl -LO https://github.com/neovim/neovim/releases/latest/download/nvim.appimage
|
||
|
chmod +x nvim.appimage
|
||
|
if ./nvim.appimage --version ;then
|
||
|
mv nvim.appimage ~/bin/nvim
|
||
|
else
|
||
|
./nvim.appimage --appimage-extract
|
||
|
mv ./squashfs-root ~/.local/lib/neovim_squashfs
|
||
|
ln -s ~/.local/lib/neovim_squashfs/AppRun ~/.local/bin/nvim
|
||
|
fi
|