~jagtalon/dotfiles

ref: 23109885e3097ec883af0fcd0cff2151629c106f dotfiles/.config/fish/functions/bat.fish -rw-r--r-- 188 bytes
23109885Jag Talon Switch to /usr/bin/env fish for portability. 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