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 Stefan Rajkovic committed Apr 26, 2021
1 parent fba802b commit b48664c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion init.zsh
Original file line number Diff line number Diff line change
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 b48664c

Please sign in to comment.