From 7205226e5f2f17c2ffa4cf16efa25a36d3e91125 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Fri, 17 Jan 2025 16:18:16 +1100 Subject: Initial commit --- util.fish | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 util.fish (limited to 'util.fish') diff --git a/util.fish b/util.fish new file mode 100644 index 0000000..4fe4444 --- /dev/null +++ b/util.fish @@ -0,0 +1,20 @@ +function log -a text + set_color cyan + # Pass arguments other than text to echo + echo $argv[2..] -- ":: $text" + set_color normal +end + +function warn -a text + set_color yellow + # Pass arguments other than text to echo + echo $argv[2..] -- ":: $text" + set_color normal +end + +function error -a text + set_color red + # Pass arguments other than text to echo + echo $argv[2..] -- ":: $text" + set_color normal +end -- cgit v1.2.3-freya