summaryrefslogtreecommitdiff
path: root/util.fish
diff options
context:
space:
mode:
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