diff options
author | Timmy Keller <tjk@tjkeller.xyz> | 2024-09-08 20:55:35 -0500 |
---|---|---|
committer | Timmy Keller <tjk@tjkeller.xyz> | 2024-09-08 20:55:35 -0500 |
commit | 3254f165758ba0cbf1e85caa56d2459d31c8ee2b (patch) | |
tree | 2f4aa6acfa0e8e2754da073360e7ab3250eef9e8 | |
parent | 94ff8bfc0dc08abd08ee6826cb2b8e8a89071d68 (diff) | |
download | dotconfig-3254f165758ba0cbf1e85caa56d2459d31c8ee2b.tar.xz dotconfig-3254f165758ba0cbf1e85caa56d2459d31c8ee2b.zip |
only install zscipts by default if zplugins file exists
-rwxr-xr-x | zsh/zscripts/zplug.zsh | 2 |
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 |