Improve editor/neovim install script
This commit is contained in:
parent
6256862b02
commit
2d1a3dbdc1
|
@ -4,15 +4,14 @@ command -v nvim >/dev/null && exit
|
||||||
|
|
||||||
case "$OSTYPE" in
|
case "$OSTYPE" in
|
||||||
darwin*)
|
darwin*)
|
||||||
brew tap neovim/neovim
|
brew install make
|
||||||
brew install make neovim
|
brew install --HEAD neovim/neovim/neovim
|
||||||
;;
|
;;
|
||||||
linux*)
|
linux*)
|
||||||
if [ -f /etc/arch-release ]; then
|
if [ -f /etc/arch-release ]; then
|
||||||
sudo pacman --noconfirm -S make neovim
|
sudo pacman --noconfirm -S make neovim python-neovim
|
||||||
elif [ -f /etc/debian_version ]; then
|
elif [ -f /etc/debian_version ]; then
|
||||||
# TODO
|
sudo apt-get install -y neovim python3-neovim
|
||||||
exit 1
|
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
Loading…
Reference in a new issue