Browse Source

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

SomeDer 5 years ago
parent
commit
779ff24c2d
1 changed files with 2 additions and 0 deletions
  1. 2 0
      oh-my-zsh.sh

+ 2 - 0
oh-my-zsh.sh

@@ -83,6 +83,8 @@ for plugin ($plugins); do
     source $ZSH_CUSTOM/plugins/$plugin/$plugin.plugin.zsh
   elif [ -f $ZSH/plugins/$plugin/$plugin.plugin.zsh ]; then
     source $ZSH/plugins/$plugin/$plugin.plugin.zsh
+  else
+    echo "Warning: plugin $plugin not found"
   fi
 done