mirror of
https://github.com/LunarVim/LunarVim.git
synced 2025-08-04 18:14:40 +02:00
update install script
This commit is contained in:
parent
6b1033cad8
commit
1a65c0eccd
1 changed files with 14 additions and 5 deletions
|
@ -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"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue