From 88a4b2a0845afc2550411efabc9507d2dfe27c91 Mon Sep 17 00:00:00 2001 From: Ryan Kavanagh Date: Wed, 20 Dec 2023 10:32:06 -0500 Subject: Share xdg-base-dirs between ksh & zsh --- dot_zshrc.tmpl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'dot_zshrc.tmpl') 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 -- cgit v1.2.3