summaryrefslogtreecommitdiff
path: root/dot_config/zsh/zprofile
diff options
context:
space:
mode:
Diffstat (limited to 'dot_config/zsh/zprofile')
-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}