1
0
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:
Dario Vladović
2020-08-04 17:48:29 +02:00
committed by GitHub
parent cf347ef3e4
commit 3935ccce64
2 changed files with 13 additions and 2 deletions

View File

@@ -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() {