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

This commit is contained in:
Greg 2019-04-03 12:20:16 +01:00 committed by Marc Cornellà
parent 831fba4ee4
commit 3a6bf6bd26

View file

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