summaryrefslogtreecommitdiff
path: root/util.fish
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-01-28 16:45:16 +1100
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-01-28 16:45:16 +1100
commit587e29efe4584c8fa8016901302fd4214f78be66 (patch)
tree734816a3e818112cb706363478e6d3a6be7c1822 /util.fish
parenttoggles: update communication (diff)
downloadcaelestia-cli-587e29efe4584c8fa8016901302fd4214f78be66.tar.gz
caelestia-cli-587e29efe4584c8fa8016901302fd4214f78be66.tar.bz2
caelestia-cli-587e29efe4584c8fa8016901302fd4214f78be66.zip
install scripts for all modules
Diffstat (limited to 'util.fish')
-rw-r--r--util.fish4
1 files changed, 4 insertions, 0 deletions
diff --git a/util.fish b/util.fish
index caae353..4a2fb4e 100644
--- a/util.fish
+++ b/util.fish
@@ -18,5 +18,9 @@ function error -a text
return 1
end
+function input -a text
+ _out blue INPUT $text $argv[2..]
+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