~jagtalon/dotfiles

ref: 787da005b1a3740de1ad65c3782ca6beb51326cb dotfiles/.config/fish/functions/bat.fish -rw-r--r-- 178 bytes
787da005Jag Talon Make `bat` and `fd` work on both OpenBSD and Ubuntu 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