]> git.sev.monster Git - dotfiles.git/commitdiff
zsh: export XDG_CACHE_HOME
authorsev <git@sev.monster>
Mon, 21 Aug 2023 17:27:45 +0000 (12:27 -0500)
committersev <git@sev.monster>
Fri, 5 Apr 2024 21:27:40 +0000 (16:27 -0500)
etc/zsh/.zprofile

index ec88809723eacd08a88e821ad8d30df720ceec57..d9c05b31b672d5caeecbe65b7b1adc5a0d5c82e9 100644 (file)
@@ -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
This page took 0.041533 seconds and 4 git commands to generate.