diff options
| author | 2026-01-18 22:48:39 +0100 | |
|---|---|---|
| committer | 2026-01-18 22:48:39 +0100 | |
| commit | 8629173cbd310c21eee3cd77d98598323419e7b2 (patch) | |
| tree | 791aab1180b53a198063f51ed93854edb057d3c5 /dot_config/zsh | |
| parent | zsh: prompt debugging... (diff) | |
zsh: move fpath handling into zshenv
fpath isn't exported, so it can't get "inherited" by non-login shells
this could technically also be in zshrc though...
Diffstat (limited to '')
| -rw-r--r-- | dot_config/zsh/.chezmoiignore | 1 | ||||
| -rw-r--r-- | dot_config/zsh/zprofile | 1 | ||||
| -rw-r--r-- | dot_config/zsh/zshenv | 2 |
3 files changed, 3 insertions, 1 deletions
diff --git a/dot_config/zsh/.chezmoiignore b/dot_config/zsh/.chezmoiignore index 945b26b..68ef3ad 100644 --- a/dot_config/zsh/.chezmoiignore +++ b/dot_config/zsh/.chezmoiignore @@ -1,3 +1,4 @@ +.* *.pre *.local *.post diff --git a/dot_config/zsh/zprofile b/dot_config/zsh/zprofile index 9a1692a..7238813 100644 --- a/dot_config/zsh/zprofile +++ b/dot_config/zsh/zprofile @@ -8,7 +8,6 @@ export EDITOR HISTFILE PAGER setopt nullglob path=(~/bin ~/.local/share/sh ~/.local/*/bin /opt/*/bin {/usr,}{/local,}/{s,}bin) -fpath[1,0]=($ZDOTDIR/functions) xsource ~/.local/share/sh/xdg diff --git a/dot_config/zsh/zshenv b/dot_config/zsh/zshenv index 0327691..62eea7e 100644 --- a/dot_config/zsh/zshenv +++ b/dot_config/zsh/zshenv @@ -13,4 +13,6 @@ xzsource() { xzsource zshenv.pre +fpath[1,0]=($ZDOTDIR/functions) + xzsource zshenv.{local,post} |
