mirror of
https://github.com/aquatix/dotfiles.git
synced 2025-12-06 20:35:11 +01:00
Alias bat so it works for batcat
This commit is contained in:
@@ -98,6 +98,9 @@ function grepl
|
||||
grep --color=always -ir $argv | less -R
|
||||
end
|
||||
|
||||
# Sometimes `bat` has the binary `batcat`, like on Debian or Ubuntu
|
||||
alias bat (command -v batcat || echo bat)
|
||||
|
||||
function rgl
|
||||
rg -p $argv | less -RFX
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user