Skip to content

Commit

Permalink
Allow module to be a symbolic link to a non-empty directory (#1510)
Browse files Browse the repository at this point in the history
  • Loading branch information
hotpxl authored and belak committed Nov 14, 2017
1 parent a3f40a7 commit cbe4815
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 cbe4815

Please sign in to comment.