mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2025-12-07 16:00:41 +01:00
cli: add update command (#9094)
Co-authored-by: Marc Cornellà <marc.cornella@live.com>
This commit is contained in:
@@ -7,8 +7,8 @@ function uninstall_oh_my_zsh() {
|
||||
}
|
||||
|
||||
function upgrade_oh_my_zsh() {
|
||||
env ZSH="$ZSH" sh "$ZSH/tools/upgrade.sh"
|
||||
command rm -rf "$ZSH/log/update.lock"
|
||||
echo >&2 "${fg[yellow]}Note: \`$0\` is deprecated. Use \`omz update\` instead.$reset_color"
|
||||
omz update
|
||||
}
|
||||
|
||||
function take() {
|
||||
|
||||
Reference in New Issue
Block a user