779ff24c2d0091ebbddae938d12b3f117123fc29

Author
SomeDer <48731521+SomeDer@users.noreply.github.com>
Committer
Marc Cornellà <marc.cornella@live.com>
Date

Message

init: notify user if plugin isn't found (#7679)

Diff

 1diff --git a/oh-my-zsh.sh b/oh-my-zsh.sh
 2index 4f6bfd5a5384a7443871fdba251611631c63a3fa..fbb10dd82d266e95a7083b2aa0d10e1e8bd15b24 100644
 3--- a/oh-my-zsh.sh
 4+++ b/oh-my-zsh.sh
 5@@ -83,6 +83,8 @@ for plugin ($plugins); do
 6     source $ZSH_CUSTOM/plugins/$plugin/$plugin.plugin.zsh
 7   elif [ -f $ZSH/plugins/$plugin/$plugin.plugin.zsh ]; then
 8     source $ZSH/plugins/$plugin/$plugin.plugin.zsh
 9+  else
10+    echo "Warning: plugin $plugin not found"
11   fi
12 done
13