1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2024-12-22 06:58:01 +00:00

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