mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-26 02:12:33 +01:00
Run softwareupdate along with oh-my-zsh update
This commit is contained in:
parent
b20eae8f3a
commit
2fc154993c
1 changed files with 8 additions and 0 deletions
|
|
@ -26,6 +26,14 @@ then
|
|||
then
|
||||
/bin/sh $ZSH/tools/upgrade.sh
|
||||
# update the zsh file
|
||||
|
||||
# Run software update if we're on a mac
|
||||
# reccomended setting - run: softwareupdate schedule off
|
||||
if [ uname -a | cut -d " " -f 1= "Darwin" ];
|
||||
then
|
||||
sudo softwareupdate -l --verbose
|
||||
fi
|
||||
|
||||
_update_zsh_update
|
||||
fi
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue