Update .config/fish/conf.d/30-bat.fish

This commit is contained in:
punkfairie 2024-10-06 19:49:15 -07:00
parent 4fde09c757
commit 3824ca94ca
Signed by: punkfairie
GPG key ID: A86AF57F837E320F

View file

@ -9,11 +9,11 @@
set -gx BATDIFF_USE_DELTA true set -gx BATDIFF_USE_DELTA true
function cat --wraps bat function cat --wraps bat
{{ $batcmd }} $argv command {{ $batcmd }} $argv
end end
function cath --wraps bat function cath --wraps bat
{{ $batcmd }} --plain --language=help $argv command {{ $batcmd }} --plain --language=help $argv
end end
abbr -a B --position anywhere --set-cursor "% | {{ $batcmd }}" abbr -a B --position anywhere --set-cursor "% | {{ $batcmd }}"