From 9ae279e25ad4afed2c069cf537b9984474afe5a4 Mon Sep 17 00:00:00 2001 From: Joost Cassee Date: Wed, 8 Jan 2020 16:26:10 +0100 Subject: [PATCH] Allow module functions directory to be a symlink The link must still point to a full directory. --- init.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.zsh b/init.zsh index 254ae52..ebae912 100644 --- a/init.zsh +++ b/init.zsh @@ -111,7 +111,7 @@ function pmodload { pmodule_location=${locations[-1]} # Add functions to $fpath. - fpath=(${pmodule_location}/functions(/FN) $fpath) + fpath=(${pmodule_location}/functions(-/FN) $fpath) function { local pfunction