Skip to content

Commit

Permalink
Merge pull request zplug#361 from sigma/patch-1
Browse files Browse the repository at this point in the history
load functions-only prezto modules
  • Loading branch information
zplug-man authored Jan 18, 2017
2 parents 9819d03 + 1188792 commit ac6012d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/utils/prezto.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ __zplug::utils::prezto::depends()
dependencies=()

# Note: Probably the only match is init.zsh, but just in case
for module_f in "$prezto_repo"/modules/$module/*.zsh
for module_f in "$prezto_repo"/modules/$module/*.zsh(N)
do
dependencies+=( ${(@s: :)"$( \
grep "\bpmodload\b" "$module_f" 2>/dev/null \
Expand Down

0 comments on commit ac6012d

Please sign in to comment.