1
0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-22 10:11:19 +08:00

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

This commit is contained in:
SomeDer 2019-03-21 19:25:41 +00:00 committed by Marc Cornellà
parent 9509fd6a91
commit 779ff24c2d

View File

@ -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