Allow module functions directory to be a symlink

The link must still point to a full directory.
This commit is contained in:
Joost Cassee 2020-01-08 16:26:10 +01:00 committed by Kaleb Elwert
parent 2acaec814f
commit 9ae279e25a
1 changed files with 1 additions and 1 deletions

View File

@ -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