mirror of
https://github.com/Crocmagnon/dotfiles.git
synced 2024-11-14 10:43:56 +01:00
7 lines
125 B
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
|