Change bat aliases

This commit is contained in:
Sam A. 2023-05-09 15:09:38 +02:00
parent 4ce768693e
commit d11b036c73
Signed by: samsapti
GPG key ID: CBBBE7371E81C4EA

View file

@ -66,9 +66,9 @@ alias visudo="sudo EDITOR=\"rvim -nc 'set nobackup nowritebackup'\" visudo"
(( ${+commands[dotnet]} )) && (( ${+commands[dotnet]} )) &&
alias dnup="dotnet tool list --global | tail -n +3 | awk '{print \$1}' | xargs -l dotnet tool update --global" alias dnup="dotnet tool list --global | tail -n +3 | awk '{print \$1}' | xargs -l dotnet tool update --global"
(( ${+commands[bat]} )) && { (( ${+commands[bat]} )) && {
alias cat="bat -pp" alias pbat="bat -pp"
alias less="bat -p --paging=always" alias bless="bat -p --paging=always"
alias nless="bat --paging=always" alias nbless="bat --paging=always"
} }
# Platform specific # Platform specific