Minor Fix

This commit is contained in:
AtomicCoding 2018-04-05 13:36:07 -07:00
parent a5a6347d3a
commit 103745c4d3
No known key found for this signature in database
GPG Key ID: D9C2E2ED3C4516FA
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ fi
if [[ ! -d ${zmodule_dir} ]]; then
print "No such module \"${zmodule}\"." >&2
else
for zmodule_file (${zmodule_dir}/init.zsh \
for zmodule_file (${zmodule_dir}/init.{zsh,sh} \
${zmodule_dir}/{,zsh-}${zmodule}.{zsh,plugin.zsh,zsh-theme,sh}); do
if [[ -f ${zmodule_file} ]]; then
source ${zmodule_file}