mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-05-22 04:51:12 +02:00
Add wording consistency for update/upgrade controversy
Change main command for updating to “update_oh_my_zsh”. Seems to be more conventional and human-readable. Some internal stuff still keeps “upgrade”. Needs thorough testing. And maybe a transitional message for existing users
This commit is contained in:
parent
d848c94804
commit
8d2ff00747
4 changed files with 7 additions and 7 deletions
|
|
@ -164,13 +164,13 @@ If you would like to override the functionality of a plugin distributed with Oh
|
||||||
|
|
||||||
## Getting Updates
|
## Getting Updates
|
||||||
|
|
||||||
By default, you will be prompted to check for upgrades every few weeks. If you would like `oh-my-zsh` to automatically upgrade itself without prompting you, set the following in your `~/.zshrc`:
|
By default, you will be prompted to check for updates every few weeks. If you would like `oh-my-zsh` to automatically update itself without prompting you, set the following in your `~/.zshrc`:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
DISABLE_UPDATE_PROMPT=true
|
DISABLE_UPDATE_PROMPT=true
|
||||||
```
|
```
|
||||||
|
|
||||||
To disable automatic upgrades, set the following in your `~/.zshrc`:
|
To disable automatic updates, set the following in your `~/.zshrc`:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
DISABLE_AUTO_UPDATE=true
|
DISABLE_AUTO_UPDATE=true
|
||||||
|
|
@ -178,10 +178,10 @@ DISABLE_AUTO_UPDATE=true
|
||||||
|
|
||||||
### Manual Updates
|
### Manual Updates
|
||||||
|
|
||||||
If you'd like to upgrade at any point in time (maybe someone just released a new plugin and you don't want to wait a week?) you just need to run:
|
If you'd like to update at any point in time (maybe someone just released a new plugin and you don't want to wait a week?) you just need to run:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
upgrade_oh_my_zsh
|
update_oh_my_zsh
|
||||||
```
|
```
|
||||||
|
|
||||||
Magic!
|
Magic!
|
||||||
|
|
|
||||||
|
|
@ -6,8 +6,8 @@ function uninstall_oh_my_zsh() {
|
||||||
env ZSH=$ZSH sh $ZSH/tools/uninstall.sh
|
env ZSH=$ZSH sh $ZSH/tools/uninstall.sh
|
||||||
}
|
}
|
||||||
|
|
||||||
function upgrade_oh_my_zsh() {
|
function update_oh_my_zsh() {
|
||||||
env ZSH=$ZSH sh $ZSH/tools/upgrade.sh
|
env ZSH=$ZSH sh $ZSH/tools/update.sh
|
||||||
}
|
}
|
||||||
|
|
||||||
function take() {
|
function take() {
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@ function _update_zsh_update() {
|
||||||
}
|
}
|
||||||
|
|
||||||
function _upgrade_zsh() {
|
function _upgrade_zsh() {
|
||||||
env ZSH=$ZSH sh $ZSH/tools/upgrade.sh
|
env ZSH=$ZSH sh $ZSH/tools/update.sh
|
||||||
# update the zsh file
|
# update the zsh file
|
||||||
_update_zsh_update
|
_update_zsh_update
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue