浏览代码

init: more informative warning if plugin not found (#7727)

Greg 6 年之前
父节点
当前提交
3a6bf6bd26
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      oh-my-zsh.sh

+ 1 - 1
oh-my-zsh.sh

@@ -53,7 +53,7 @@ for plugin ($plugins); do
   elif is_plugin $ZSH $plugin; then
     fpath=($ZSH/plugins/$plugin $fpath)
   else
-    echo "Warning: plugin $plugin not found"
+    echo "[oh-my-zsh] plugin '$plugin' not found"
   fi
 done