1
0
Fork 0
mirror of synced 2024-11-17 21:45:35 -05:00

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

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}