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
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ for pkg in "$@"; do
stow -t "$HOME" --ignore="README.md" "$pkg"
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
echo "=> Installing vim-plug and plugins for Neovim"