From ac60ad5a4d9e78c286b9f90517b8364bf0efcc4c Mon Sep 17 00:00:00 2001 From: Sam Al-Sapti Date: Sat, 18 Jun 2022 15:54:49 +0200 Subject: [PATCH] Fix install.sh --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"