dotfiles/dot_config/fish/conf.d/30-bat.fish

9 lines
150 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"