summaryrefslogtreecommitdiff
path: root/lib/functions.zsh
diff options
context:
space:
mode:
authorTuowen Zhao <ztuowen@gmail.com>2020-08-16 14:53:06 -0600
committerTuowen Zhao <ztuowen@gmail.com>2020-08-16 14:53:06 -0600
commitf672613e98ba6b30728517b22c0e378557d7fb81 (patch)
tree40f71cbf5809d181129f812e6466eac0b7cb2509 /lib/functions.zsh
parent1edd2c43b12f9f2c2ef04cfa0428db0f7fc0aa7c (diff)
parent079e7bb5e0a79171f3356d55d3f6302a82645a39 (diff)
downloadzsh-f672613e98ba6b30728517b22c0e378557d7fb81.tar.gz
zsh-f672613e98ba6b30728517b22c0e378557d7fb81.tar.bz2
zsh-f672613e98ba6b30728517b22c0e378557d7fb81.zip
Merge remote-tracking branch 'origin/master' into master
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() {