diff --git a/install.sh b/install.sh index 71f748b..321b7d4 100755 --- a/install.sh +++ b/install.sh @@ -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"