Zsh: Add dotnet update alias

This commit is contained in:
the_4n0nym0u53 2022-03-31 16:12:07 +02:00 committed by GitHub
parent 8bc416ac59
commit fe1bc299c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -18,6 +18,7 @@ alias ls="ls --color=always"
alias q="exit"
alias zgrep="zgrep --color=always"
(( ${+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"
if (( ${+commands[exa]} )); then
alias exa="exa -Fh --color=always --git --icons"