fish: fix cat function

This commit is contained in:
Petar Kapriš 2025-06-06 12:11:03 +02:00
parent 4d056e0f52
commit 8606d515cf

View file

@ -1,7 +1,7 @@
function cat --wraps=bat --description 'alias cat=bat' function cat --wraps=bat --description 'alias cat=bat'
if type -f bat &>/dev/null if type -f bat &>/dev/null; and [ -t 1 ]
bat $argv bat $argv
else else
cat $argv command cat $argv
end end
end end