Update .config/fish/conf.d/30-bat.fish
This commit is contained in:
parent
4fde09c757
commit
3824ca94ca
1 changed files with 2 additions and 2 deletions
|
@ -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 }}"
|
||||||
|
|
Loading…
Reference in a new issue