From cbe48151896ef0f37ee2556eb4546198dee1ed60 Mon Sep 17 00:00:00 2001 From: Yutian Li Date: Mon, 13 Nov 2017 16:41:54 -0800 Subject: [PATCH] Allow module to be a symbolic link to a non-empty directory (#1510) --- init.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.zsh b/init.zsh index 66ac1b17..347b387c 100644 --- a/init.zsh +++ b/init.zsh @@ -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