mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-05 01:46:46 +01:00
cli: add update command (#9094)
Co-authored-by: Marc Cornellà <marc.cornella@live.com>
This commit is contained in:
parent
cf347ef3e4
commit
3935ccce64
2 changed files with 13 additions and 2 deletions
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue