Browse Source

Allow module to be a symbolic link to a non-empty directory (#1510)

master
Yutian Li 7 years ago committed by Kaleb Elwert
parent
commit
b69902ff09
  1. 2
      init.zsh

2
init.zsh

@ -96,7 +96,7 @@ function pmodload { @@ -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

Loading…
Cancel
Save