summaryrefslogtreecommitdiff
path: root/.zshrc
diff options
context:
space:
mode:
authorZhineng Li <[email protected]>2026-02-12 10:55:33 +0800
committerZhineng Li <[email protected]>2026-02-12 10:59:01 +0800
commit485321b4b7831e120f56e5c712c4104c2d773fcd (patch)
tree14b38b378b6dec1b717353d88fb490aa4d47cba8 /.zshrc
parentdd957797d8ed953bcb634bf336aa3f52855f7f68 (diff)
downloaddotfiles-485321b4b7831e120f56e5c712c4104c2d773fcd.tar.gz
dotfiles-485321b4b7831e120f56e5c712c4104c2d773fcd.zip
update macOS
The flags for the `softwareupdate` command: -d: download -i: install -a: install all -R: allow restart if needed
Diffstat (limited to '.zshrc')
-rw-r--r--.zshrc2
1 files changed, 1 insertions, 1 deletions
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