summaryrefslogtreecommitdiff
path: root/util.fish
diff options
context:
space:
mode:
Diffstat (limited to 'util.fish')
-rw-r--r--util.fish2
1 files changed, 2 insertions, 0 deletions
diff --git a/util.fish b/util.fish
index 4b5d981..b93ddc6 100644
--- a/util.fish
+++ b/util.fish
@@ -16,3 +16,5 @@ end
function error -a text
_out red ERROR $text $argv[2..]
end
+
+set -q XDG_CACHE_HOME && set CACHE $XDG_CACHE_HOME/caelestia || set CACHE $HOME/.cache/caelestia