Add de alias

This commit is contained in:
Sam A. 2022-06-15 14:41:05 +02:00
parent 9178697bc0
commit 629348bf97
Signed by: samsapti
GPG key ID: CBBBE7371E81C4EA

View file

@ -31,15 +31,17 @@ alias gsa="git submodule add"
alias gsur="git submodule update --remote" alias gsur="git submodule update --remote"
# Misc. # Misc.
(( ${+commands[doas]} )) || alias doas="sudo"
(( ${+commands[nvim]} )) && alias vim="nvim"
(( ${+commands[tmux]} )) && alias tmux="tmux -2u"
(( ${+commands[dotnet]} )) && alias dnup="dotnet tool list --global | tail -n +3 | awk '{print \$1}' | xargs -l dotnet tool update --global"
alias cl="clear" alias cl="clear"
alias -g e="\$EDITOR" alias de="doas \$EDITOR"
alias e="\$EDITOR"
alias grep="grep --color=always" alias grep="grep --color=always"
alias ls="ls --color=always" alias ls="ls --color=always"
alias q="exit 0" alias q="exit 0"
alias zgrep="zgrep --color=always" alias zgrep="zgrep --color=always"
(( ${+commands[nvim]} )) && alias vim="nvim"
(( ${+commands[tmux]} )) && alias tmux="tmux -2u"
(( ${+commands[dotnet]} )) && alias dnup="dotnet tool list --global | tail -n +3 | awk '{print \$1}' | xargs -l dotnet tool update --global"
# Platform specific # Platform specific
if [[ $(uname -o) == "Android" ]]; then if [[ $(uname -o) == "Android" ]]; then