From e1c8b18635befc78efd5660c1f4cdd62445b61f3 Mon Sep 17 00:00:00 2001 From: Colin Powell Date: Sat, 13 Jan 2024 17:26:04 -0500 Subject: [PATCH] [zsh] Add automated arch update command --- zsh/.zshrc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/zsh/.zshrc b/zsh/.zshrc index a0a5261..f02ca63 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -61,6 +61,13 @@ kush() { fi } +yayup () { + mv ~/.asdf ~/.asdf.bak + yay -S --noconfirm archlinux-keyring endeavouros-keyring + yay -Syu --noconfirm + mv ~/.asdf.bak ~/.asdf +} + [ -f ~/.fzf.zsh ] && source ~/.fzf.zsh eval "$(atuin init zsh)"