cli: add update command (#9094)

Co-authored-by: Marc Cornellà <marc.cornella@live.com>
This commit is contained in:
Dario VladovićandMarc Cornellà authored and GitHub committed 2020-08-04 17:48:29 +02:00
1 parent cf347ef3e4
commit 3935ccce64
2 files changed
+13 -2

No files matched your search

+2 -2
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() {