[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:
Eryn Wells 2026-01-18 08:08:00 -07:00
parent cbebbffee0
commit 4f06d80da6

4
zshenv
View file

@ -24,8 +24,8 @@ function init-env-dotfiles-path
function init-env-fpath
{
local -r fpath_candidates=( \
"$HOME/.zsh/${SYS}-functions" \
"$HOME/.zsh/func" \
"$DOTFILES_HOME/zsh/${SYS}-functions" \
"$DOTFILES_HOME/zsh/func" \
)
# Process the array in reverse order (`Oa` means "descending index order",