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

Closes #1484
main
Kaleb Elwert 7 years ago
parent 7cdde9b631
commit 029414581e

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

Loading…
Cancel
Save