10 lines
224 B
Fish
10 lines
224 B
Fish
#!/usr/bin/env fish
|
|
|
|
set -gx BATDIFF_USE_DELTA true
|
|
|
|
function cat --wraps bat
|
|
bat $argv
|
|
end
|
|
|
|
abbr -a B --position anywhere --set-cursor "% | bat"
|
|
abbr -a --position anywhere -- -h "-h 2>&1 | bat --plain --language=help"
|