aboutsummaryrefslogtreecommitdiff
path: root/dot_zshrc.tmpl
diff options
context:
space:
mode:
authorRyan Kavanagh <rak@rak.ac>2023-12-20 10:32:06 -0500
committerRyan Kavanagh <rak@rak.ac>2023-12-20 10:32:06 -0500
commit88a4b2a0845afc2550411efabc9507d2dfe27c91 (patch)
tree54f8cdb11ddf501667f6556a0be7a1f45ba98a43 /dot_zshrc.tmpl
parentResign remaining certs while I'm at it (diff)
Share xdg-base-dirs between ksh & zsh
Diffstat (limited to '')
-rw-r--r--dot_zshrc.tmpl3
1 files changed, 2 insertions, 1 deletions
diff --git a/dot_zshrc.tmpl b/dot_zshrc.tmpl
index c0b1669..a9d7123 100644
--- a/dot_zshrc.tmpl
+++ b/dot_zshrc.tmpl
@@ -61,7 +61,8 @@ export BROWSER=firefox
export TEXMFHOME=${HOME}/.texmf
export KRB5CCNAME=DIR:${HOME}/.cache/krb5cc # kerberos credentials cache
export GOPATH=${HOME}/.go
-export XDG_STATE_HOME="${HOME}/.local/state"
+
+[ -f "${HOME}/.config/sh/xdg-base-dirs" ] && . "${HOME}/.config/sh/xdg-base-dirs"
export PATH=/usr/sbin:/sbin:${PATH}
case `uname` in