mirror of
https://github.com/alrayyes/server-dotfiles
synced 2023-11-14 15:56:25 +00:00
make sure to install plug
This commit is contained in:
parent
f27cbc7872
commit
d78159bbe4
15
install
15
install
@ -10,16 +10,21 @@ for d in $(ls -d */ | cut -f1 -d '/'); do
|
|||||||
(stow $d)
|
(stow $d)
|
||||||
done
|
done
|
||||||
|
|
||||||
# Install vim plugins & requirements
|
|
||||||
if [ ! "$(pip list --user | grep 'pynvim' | wc -l)" -ge 1 ]; then
|
|
||||||
pip install --user pynvim
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Install zplug if it doesn't exist yet
|
# Install zplug if it doesn't exist yet
|
||||||
if [ ! -d ~/.zplug ]; then
|
if [ ! -d ~/.zplug ]; then
|
||||||
echo "Installing zplug"
|
echo "Installing zplug"
|
||||||
curl -sL --proto-redir -all,https https://raw.githubusercontent.com/zplug/installer/master/installer.zsh | zsh
|
curl -sL --proto-redir -all,https https://raw.githubusercontent.com/zplug/installer/master/installer.zsh | zsh
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Install vim plugins & requirements
|
||||||
|
if [ ! "$(pip list --user | grep 'pynvim' | wc -l)" -ge 1 ]; then
|
||||||
|
pip install --user pynvim
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Install plug package manager if it doesn't exist
|
||||||
|
if [ ! -d ~/.config/nvim/plugged ]; then
|
||||||
|
curl -fLo ~/.local/share/nvim/site/autoload/plug.vim --create-dirs \
|
||||||
|
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
|
||||||
|
fi
|
||||||
# Install nvim pluugins
|
# Install nvim pluugins
|
||||||
nvim +PlugInstall +qall
|
nvim +PlugInstall +qall
|
||||||
|
Loading…
Reference in New Issue
Block a user