~jagtalon/dotfiles

ref: a70c0fb8bf7ce187336884b24ba434dc11fc3616 dotfiles/.config/fish/functions/bat.fish -rw-r--r-- 191 bytes
a70c0fb8Jag Talon More formatting 7 months ago
                                                                                
1
2
3
4
5
6
7
8
9
function bat
    if command -v batcat > /dev/null
        command batcat $argv
    else if command -v bat > /dev/null
        command bat $argv
    else
        command cat $argv
    end
end