Skip to content

Commit

Permalink
Allow module to be a symbolic link to a non-empty directory (sorin-io…
Browse files Browse the repository at this point in the history
  • Loading branch information
hotpxl authored and baberthal committed Mar 21, 2018
1 parent 6665f29 commit e350f62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion init.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ function pmodload {
if zstyle -t ":prezto:module:$pmodule" loaded 'yes' 'no'; then
continue
else
locations=(${pmodule_dirs:+${^pmodule_dirs}/$pmodule(/FN)})
locations=(${pmodule_dirs:+${^pmodule_dirs}/$pmodule(-/FN)})
if (( ${#locations} > 1 )); then
print "$0: conflicting module locations: $locations"
continue
Expand Down

0 comments on commit e350f62

Please sign in to comment.