Change bat aliases
This commit is contained in:
parent
4ce768693e
commit
d11b036c73
|
@ -66,9 +66,9 @@ alias visudo="sudo EDITOR=\"rvim -nc 'set nobackup nowritebackup'\" visudo"
|
|||
(( ${+commands[dotnet]} )) &&
|
||||
alias dnup="dotnet tool list --global | tail -n +3 | awk '{print \$1}' | xargs -l dotnet tool update --global"
|
||||
(( ${+commands[bat]} )) && {
|
||||
alias cat="bat -pp"
|
||||
alias less="bat -p --paging=always"
|
||||
alias nless="bat --paging=always"
|
||||
alias pbat="bat -pp"
|
||||
alias bless="bat -p --paging=always"
|
||||
alias nbless="bat --paging=always"
|
||||
}
|
||||
|
||||
# Platform specific
|
||||
|
|
Loading…
Reference in a new issue