Updated Plugin Loading
This commit is contained in:
parent
72f0bc5de0
commit
0bcf58fcf2
1 changed files with 4 additions and 0 deletions
4
init.zsh
4
init.zsh
|
@ -34,6 +34,10 @@ fi
|
|||
for zmodule (${zmodules}); do
|
||||
if [[ -s ${ZIM_HOME}/modules/${zmodule}/init.zsh ]]; then
|
||||
source ${ZIM_HOME}/modules/${zmodule}/init.zsh
|
||||
elif [[ -s ${ZIM_HOME}/modules/${zmodule}/${zmodule}.zsh ]]; then
|
||||
source ${ZIM_HOME}/modules/${zmodule}.zsh
|
||||
elif [[ -s ${ZIM_HOME}/modules/${zmodule}/${zmodule}.plugin.zsh ]]; then
|
||||
source ${ZIM_HOME}/modules/${zmodule}/${zmodule}.plugin.zsh
|
||||
elif [[ ! -d ${ZIM_HOME}/modules/${zmodule} ]]; then
|
||||
print "No such module \"${zmodule}\"." >&2
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue