From 485321b4b7831e120f56e5c712c4104c2d773fcd Mon Sep 17 00:00:00 2001 From: Zhineng Li Date: Thu, 12 Feb 2026 10:55:33 +0800 Subject: update macOS The flags for the `softwareupdate` command: -d: download -i: install -a: install all -R: allow restart if needed --- .zshrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.zshrc') diff --git a/.zshrc b/.zshrc index 515802a..838284d 100644 --- a/.zshrc +++ b/.zshrc @@ -26,7 +26,7 @@ alias gpush='git push' alias gpull='git pull' alias dotfiles='cd ~/.dotfiles' alias dl='cd ~/Downloads' -alias update='brew update && brew upgrade && brew autoremove && brew cleanup' +alias update='sudo softwareupdate -diaR && brew update && brew upgrade && brew autoremove && brew cleanup' alias help='tldr' # Node version manager -- cgit v1.2.3