Add support for loading plugins in the oh-my-zsh format

Closes #1484
This commit is contained in:
Kaleb Elwert 2017-12-03 00:41:25 -08:00
parent 7cdde9b631
commit 029414581e

View file

@ -125,6 +125,8 @@ function pmodload {
if [[ -s "${pmodule_location}/init.zsh" ]]; then
source "${pmodule_location}/init.zsh"
elif [[ -s "${pmodule_location}/${pmodule}.plugin.zsh" ]]; then
source "${pmodule_location}/${pmodule}.plugin.zsh"
fi
if (( $? == 0 )); then