summaryrefslogtreecommitdiff
path: root/dot_config/zsh/zprofile
diff options
context:
space:
mode:
authorChloƩ Vulquin <code@toast.bunkerlabs.net>2026-01-18 21:53:18 +0100
committerChloƩ Vulquin <code@toast.bunkerlabs.net>2026-01-18 21:53:18 +0100
commite7e22d34089619349eaed54b213d575742748ce5 (patch)
tree532853f56020d0ba1b848c9e41662a1bf2ad7ade /dot_config/zsh/zprofile
parentzsh: ignore local files (diff)
zsh: even bigger rewrite
don't... worry about it I spent basically all day between this and monster hunter.
Diffstat (limited to '')
-rw-r--r--dot_config/zsh/zprofile15
1 files changed, 15 insertions, 0 deletions
diff --git a/dot_config/zsh/zprofile b/dot_config/zsh/zprofile
new file mode 100644
index 0000000..9a1692a
--- /dev/null
+++ b/dot_config/zsh/zprofile
@@ -0,0 +1,15 @@
+# vim: ft=zsh
+xzsource zprofile.pre
+
+: ${PAGER:=less} ${EDITOR:=vi} \
+ ${HOSTNAME:=$(uname -n)} ${USER:=$(id -un)} \
+ ${HISTFILE:=~/.local/state/history/zsh}
+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
+
+xzsource zprofile.{local,post}