Skip to content

Commit

Permalink
Allow module functions directory to be a symlink
Browse files Browse the repository at this point in the history
The link must still point to a full directory.
  • Loading branch information
jcassee authored and belak committed Jan 15, 2020
1 parent 2acaec8 commit 9ae279e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion init.zsh
Expand Up @@ -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
Expand Down

0 comments on commit 9ae279e

Please sign in to comment.