From 029414581e54f5b63156f81acd0d377e8eb78883 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 ccdfb013..99254bdb 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