mirror of
https://github.com/dcarrillo/prezto.git
synced 2024-12-22 13:58:00 +00:00
Allow module functions directory to be a symlink
The link must still point to a full directory.
This commit is contained in:
parent
2acaec814f
commit
9ae279e25a
2
init.zsh
2
init.zsh
@ -111,7 +111,7 @@ function pmodload {
|
|||||||
pmodule_location=${locations[-1]}
|
pmodule_location=${locations[-1]}
|
||||||
|
|
||||||
# Add functions to $fpath.
|
# Add functions to $fpath.
|
||||||
fpath=(${pmodule_location}/functions(/FN) $fpath)
|
fpath=(${pmodule_location}/functions(-/FN) $fpath)
|
||||||
|
|
||||||
function {
|
function {
|
||||||
local pfunction
|
local pfunction
|
||||||
|
Loading…
Reference in New Issue
Block a user