summaryrefslogtreecommitdiff
path: root/lib/functions.zsh
diff options
context:
space:
mode:
authorDario Vladović <d.vladimyr@gmail.com>2020-08-04 17:48:29 +0200
committerGitHub <noreply@github.com>2020-08-04 17:48:29 +0200
commit3935ccce647c722bcfdaa771b01613079db20935 (patch)
tree04997912e6a9023e8e83c41fbec4b89f16aa60c3 /lib/functions.zsh
parentcf347ef3e43eabde5ae86e17d25690ebbeef5e6b (diff)
downloadzsh-3935ccce647c722bcfdaa771b01613079db20935.tar.gz
zsh-3935ccce647c722bcfdaa771b01613079db20935.tar.bz2
zsh-3935ccce647c722bcfdaa771b01613079db20935.zip
cli: add update command (#9094)
Co-authored-by: Marc Cornellà <marc.cornella@live.com>
Diffstat (limited to 'lib/functions.zsh')
-rw-r--r--lib/functions.zsh4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/functions.zsh b/lib/functions.zsh
index 678e29ce7..e85b867a5 100644
--- a/lib/functions.zsh
+++ b/lib/functions.zsh
@@ -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() {