diff --git a/ZshPlug.zsh b/ZshPlug.zsh index fc787c7..4e69d2e 100644 --- a/ZshPlug.zsh +++ b/ZshPlug.zsh @@ -121,8 +121,9 @@ Plug() { # test for git as needed to get plugins command -v git > /dev/null || { echo "Git is not installed" >&2 ; return 1; } - ## No need to check if plugins has content since if there are no plugins this does not run anything - for Plugin in $ZSH_PLUG_Plugins; do + ## No need to check if plugins has content since if there are no plugins this does not run anythinh + + for Plugin in $Plugins; do echo "$Plugin" pluginTest "$Plugin" local exitcode="$?"