From fe1bc299c9ddfd577757f34fee7d137049df750c Mon Sep 17 00:00:00 2001 From: the_4n0nym0u53 Date: Thu, 31 Mar 2022 16:12:07 +0200 Subject: [PATCH] Zsh: Add dotnet update alias --- zsh/.config/zsh/aliases.zsh | 1 + 1 file changed, 1 insertion(+) diff --git a/zsh/.config/zsh/aliases.zsh b/zsh/.config/zsh/aliases.zsh index ea36810..f12c1a5 100644 --- a/zsh/.config/zsh/aliases.zsh +++ b/zsh/.config/zsh/aliases.zsh @@ -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"