dotfiles/dot_config/fish/private_functions/cat.fish

8 lines
125 B
Fish
Raw Normal View History

2023-02-28 14:52:57 +01:00
function cat --wraps=bat --description 'alias cat bat'
2024-02-20 01:05:21 +01:00
if type -q bat
bat $argv
else
command cat $argv
end
2023-02-28 14:52:57 +01:00
end