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]} )) &&
|
(( ${+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
|
||||||
|
|
Loading…
Reference in a new issue