summaryrefslogtreecommitdiff
path: root/zsh/zscripts
diff options
context:
space:
mode:
Diffstat (limited to 'zsh/zscripts')
-rwxr-xr-xzsh/zscripts/zplug.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/zsh/zscripts/zplug.zsh b/zsh/zscripts/zplug.zsh
index 690e9f4..27dc70f 100755
--- a/zsh/zscripts/zplug.zsh
+++ b/zsh/zscripts/zplug.zsh
@@ -128,7 +128,7 @@ function zplug() {
function zplugInitialize() {
local plugin
- if ! [ -d "$zplugins" ]; then
+ if ! [ -d "$zplugins" ] && [ -f "$zplugs" ]; then
echo "zplug installing plugins..."
__zplugInstall 0 # Put in some value since there is a shift
fi