update install script

This commit is contained in:
Chris 2021-03-19 01:26:09 -04:00
parent 6b1033cad8
commit 1a65c0eccd

View file

@ -125,13 +125,22 @@ pip3 list | grep pynvim >/dev/null && echo "pynvim installed, moving on..." || i
# move old nvim directory if it exists
# [ -d "$HOME/.config/nvim" ] && moveoldnvim
[ -f "~/.local/share/nvim/site/pack/packer/opt/packer.nvim" ] || installpacker
if [ -a "$HOME/.local/share/nvim/site/pack/packer/opt/packer.nvim" ]; then
echo 'packer already installed'
else
installpacker
fi
if [ -a "$HOME/.config/nvcode/init.lua" ]; then
echo 'packer already installed'
else
# clone config down
cloneconfig
echo 'export PATH=$HOME/.config/nvcode/utils/bin:$PATH' >>~/.zshrc
echo 'export PATH=$HOME/.config/nvcode/utils/bin:$PATH' >>~/.bashrc
fi
# clone config down
cloneconfig
echo 'export PATH=$HOME/.config/nvcode/utils/bin:$PATH' >>~/.zshrc
echo 'export PATH=$HOME/.config/nvcode/utils/bin:$PATH' >>~/.bashrc
echo "I recommend you also install and activate a font from here: https://github.com/ryanoasis/nerd-fonts"