dotfiles/fish/.config/fish/functions/cat.fish

9 lines
112 B
Fish

function cat
if type -q bat >/dev/null
bat -p $argv
else
command cat $argv
end
end