[zsh] Use DOTFILES_HOME to find zsh functions inside the repo
Zsh can find shell functions inside the repo instead using a symlink in $HOME.
This commit is contained in:
parent
cbebbffee0
commit
4f06d80da6
1 changed files with 2 additions and 2 deletions
4
zshenv
4
zshenv
|
|
@ -24,8 +24,8 @@ function init-env-dotfiles-path
|
||||||
function init-env-fpath
|
function init-env-fpath
|
||||||
{
|
{
|
||||||
local -r fpath_candidates=( \
|
local -r fpath_candidates=( \
|
||||||
"$HOME/.zsh/${SYS}-functions" \
|
"$DOTFILES_HOME/zsh/${SYS}-functions" \
|
||||||
"$HOME/.zsh/func" \
|
"$DOTFILES_HOME/zsh/func" \
|
||||||
)
|
)
|
||||||
|
|
||||||
# Process the array in reverse order (`Oa` means "descending index order",
|
# Process the array in reverse order (`Oa` means "descending index order",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue