summaryrefslogtreecommitdiff
path: root/dot_config
diff options
context:
space:
mode:
authorChloƩ Vulquin <code@toast.bunkerlabs.net>2026-01-18 22:48:39 +0100
committerChloƩ Vulquin <code@toast.bunkerlabs.net>2026-01-18 22:48:39 +0100
commit8629173cbd310c21eee3cd77d98598323419e7b2 (patch)
tree791aab1180b53a198063f51ed93854edb057d3c5 /dot_config
parentzsh: 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/.chezmoiignore1
-rw-r--r--dot_config/zsh/zprofile1
-rw-r--r--dot_config/zsh/zshenv2
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}