From 370ced22c717613e2f3e8608a34300b01b7d61c0 Mon Sep 17 00:00:00 2001 From: ache Date: Wed, 20 Aug 2025 23:35:06 +0200 Subject: Add icat function --- functions/icat.fish | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 functions/icat.fish diff --git a/functions/icat.fish b/functions/icat.fish new file mode 100644 index 0000000..cc83e17 --- /dev/null +++ b/functions/icat.fish @@ -0,0 +1,7 @@ +function icat --description "Image 'cat' only with kitty term otherwise with catimg" + if [ "$TERM" = xterm-kitty ] + kitty icat $argv + else + catimg -l 3 $argv + end +end -- cgit v1.3-2-g11bf