From e96ea76565b7abd3556c92f01cb073ab02eb326d Mon Sep 17 00:00:00 2001 From: Kaleb Elwert Date: Sun, 3 Dec 2017 00:41:25 -0800 Subject: [PATCH] Add support for loading plugins in the oh-my-zsh format Closes #1484 --- init.zsh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/init.zsh b/init.zsh index ccdfb01..99254bd 100644 --- a/init.zsh +++ b/init.zsh @@ -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