From a60119faff4083cf633930fd2afb20c3f5d9b894 Mon Sep 17 00:00:00 2001 From: Robert Morrison Date: Thu, 14 Jul 2022 02:41:08 +0100 Subject: [PATCH] Fix bug in update I changed some environment variable names and forgot to update the updater to use the new name --- ZshPlug.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ZshPlug.zsh b/ZshPlug.zsh index 6e468ca..fd32d48 100644 --- a/ZshPlug.zsh +++ b/ZshPlug.zsh @@ -105,7 +105,7 @@ ZSH_PLUG_pluginUpdate() { ## Update all Plugins ## Should really do one at a time ## Might not work with new config setup - for Plugin in $Plugins; do + for Plugin in ${ZSH_PLUG_plugins[@]}; do echo "Updating $Plugin" local InstallDir="$pluginDir/$Plugin" pushd $InstallDir