Skip to content

Commit

Permalink
load functions-only prezto modules
Browse files Browse the repository at this point in the history
Some prezto modules (like `archive`) don't have a .zsh at all
  • Loading branch information
sigma authored Jan 17, 2017
1 parent 063d26f commit 1188792
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 1188792

Please sign in to comment.