mirror of
https://github.com/ViViDboarder/shoestrap.git
synced 2024-12-23 11:17:39 +00:00
Add recipe for installing latest Neovim from appimage
This will download and add the latest Neovim appimage to the user bin dir, or, if appimage can't be run, will extract the filesystem and add it to ~/.local paths.
This commit is contained in:
parent
50b03824f2
commit
ad53b375a2
15
recipes/default/neovim_appimage
Executable file
15
recipes/default/neovim_appimage
Executable file
@ -0,0 +1,15 @@
|
||||
#! /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
|
Loading…
Reference in New Issue
Block a user