Browse Source

Allow module functions directory to be a symlink

The link must still point to a full directory.
master
Joost Cassee 5 years ago committed by Kaleb Elwert
parent
commit
b7d609690e
  1. 2
      init.zsh

2
init.zsh

@ -111,7 +111,7 @@ function pmodload { @@ -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

Loading…
Cancel
Save