Add bat aliases
This commit is contained in:
parent
adc4413539
commit
8cb8a4cf31
|
@ -53,6 +53,11 @@ alias rgh="rg --hidden -g '!/.git/'"
|
||||||
alias tmux="tmux -2u"
|
alias tmux="tmux -2u"
|
||||||
(( ${+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]} )) && {
|
||||||
|
alias cat="bat -pp"
|
||||||
|
alias less="bat -p --paging=always"
|
||||||
|
alias nless="bat --paging=always"
|
||||||
|
}
|
||||||
alias cl="clear"
|
alias cl="clear"
|
||||||
alias e="$EDITOR"
|
alias e="$EDITOR"
|
||||||
alias se="sudoedit"
|
alias se="sudoedit"
|
||||||
|
|
Loading…
Reference in a new issue