dotfiles/dot_config/fish/private_functions/cat.fish

7 lines
125 B
Fish

function cat --wraps=bat --description 'alias cat bat'
if type -q bat
bat $argv
else
command cat $argv
end
end