Fix install.sh

This commit is contained in:
Sam A. 2022-06-18 15:54:49 +02:00
parent 3408428739
commit ac60ad5a4d
Signed by: samsapti
GPG key ID: CBBBE7371E81C4EA

View file

@ -38,7 +38,7 @@ for pkg in "$@"; do
stow -t "$HOME" --ignore="README.md" "$pkg" stow -t "$HOME" --ignore="README.md" "$pkg"
done done
if [ $NVIM -eq 1 ] && [ ! -f "${XDG_DATA_HOME:-$HOME/.local/share}"/nvim/site/autoload/plug.vim ]; then if [ -n "$NVIM" ] && [ ! -f "${XDG_DATA_HOME:-$HOME/.local/share}"/nvim/site/autoload/plug.vim ]; then
sleep 0.5 sleep 0.5
echo "=> Installing vim-plug and plugins for Neovim" echo "=> Installing vim-plug and plugins for Neovim"