X-Git-Url: https://git.sev.monster/~sev/dotfiles.git/blobdiff_plain/c9ab0b12d4183935113856f0c9c5575c8e149208..72de94eb3a1c15c6bafb17ef874a08254b6d9767:/etc/zsh/.zprofile?ds=sidebyside diff --git a/etc/zsh/.zprofile b/etc/zsh/.zprofile index ec88809..d9c05b3 100644 --- a/etc/zsh/.zprofile +++ b/etc/zsh/.zprofile @@ -195,7 +195,9 @@ if [[ ! -v _sev_setup_xdg ]] { mkdir -m760 ~/.local/state } - if [[ ! -v XDG_CACHE_HOME ]] { + if [[ -v XDG_CACHE_HOME ]] { + export XDG_CACHE_HOME + } else { if [[ -v _sev_tmp ]] { export XDG_CACHE_HOME=$_sev_tmp/.xdg.cache [[ -e $XDG_CACHE_HOME ]] || mkdir -m700 $XDG_CACHE_HOME