From 3254f165758ba0cbf1e85caa56d2459d31c8ee2b Mon Sep 17 00:00:00 2001 From: Timmy Keller Date: Sun, 8 Sep 2024 20:55:35 -0500 Subject: only install zscipts by default if zplugins file exists --- zsh/zscripts/zplug.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3