update.zsh: brew cleanup + software update -i -a
This commit is contained in:
parent
076b91ce06
commit
a72b4d6c6d
|
@ -9,9 +9,11 @@ up-to-date() {
|
|||
[[ "$LOCAL" == "$REMOTE" ]]
|
||||
}
|
||||
|
||||
sudo softwareupdate -i -a
|
||||
|
||||
(( $+commands[brew] )) && {
|
||||
echo "Updating homebrew"
|
||||
{ brew update && brew upgrade --all; } | indent
|
||||
{ brew update; brew upgrade --all; brew cleanup } | indent
|
||||
}
|
||||
|
||||
[[ -f "$HOME/.emacs.d/Makefile" ]] && {
|
||||
|
|
Loading…
Reference in a new issue