summaryrefslogtreecommitdiff
path: root/util.fish
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-01-18 22:53:17 +1100
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-01-18 22:53:17 +1100
commit1a171034ae2c65e295004594234913a9ceb3fbf1 (patch)
treeceb604b2f057ca6027477d4ab3e670466b781841 /util.fish
parentrecord script (diff)
downloadcaelestia-cli-1a171034ae2c65e295004594234913a9ceb3fbf1.tar.gz
caelestia-cli-1a171034ae2c65e295004594234913a9ceb3fbf1.tar.bz2
caelestia-cli-1a171034ae2c65e295004594234913a9ceb3fbf1.zip
use xdg config home
Diffstat (limited to 'util.fish')
-rw-r--r--util.fish1
1 files changed, 1 insertions, 0 deletions
diff --git a/util.fish b/util.fish
index 6633525..caae353 100644
--- a/util.fish
+++ b/util.fish
@@ -18,4 +18,5 @@ function error -a text
return 1
end
+set -q XDG_CONFIG_HOME && set CONFIG $XDG_CONFIG_HOME/caelestia || set CONFIG $HOME/.config/caelestia
set -q XDG_CACHE_HOME && set CACHE $XDG_CACHE_HOME/caelestia || set CACHE $HOME/.cache/caelestia