diff options
| author | ache <ache@ache.one> | 2025-08-20 23:35:06 +0200 |
|---|---|---|
| committer | ache <ache@ache.one> | 2025-08-20 23:35:06 +0200 |
| commit | 370ced22c717613e2f3e8608a34300b01b7d61c0 (patch) | |
| tree | 57fa6d6f4e91a67e3935cd86b25069abf19313bf | |
| parent | Fix bat not installed x2 (diff) | |
Add icat function
| -rw-r--r-- | functions/icat.fish | 7 |
1 files changed, 7 insertions, 0 deletions
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 |