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
|
||||
darwin*)
|
||||
brew tap neovim/neovim
|
||||
brew install make neovim
|
||||
brew install make
|
||||
brew install --HEAD neovim/neovim/neovim
|
||||
;;
|
||||
linux*)
|
||||
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
|
||||
# TODO
|
||||
exit 1
|
||||
sudo apt-get install -y neovim python3-neovim
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
|
Loading…
Reference in a new issue