mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2026-10-03 08:23:47 +02:00
fix(updater): address cooldown review feedback
Pass cooldown into upgrade.sh as -c, extract the update helpers, and only prompt when a cooldown-eligible commit would actually move HEAD.
This commit is contained in:
1 parent
84429a7229
commit
e872c661ad
4 files changed
+78
-23
No files matched your search
@@ -475,6 +475,13 @@ just a little later:
|
||||
zstyle ':omz:update' cooldown 10
|
||||
```
|
||||
|
||||
`omz update` honors this setting. If you call `upgrade.sh` directly, pass the same
|
||||
value with `-c`, because that script does not read your `.zshrc`:
|
||||
|
||||
```sh
|
||||
$ZSH/tools/upgrade.sh -c 10
|
||||
```
|
||||
|
||||
### Updates Verbosity
|
||||
|
||||
You can also limit the update verbosity with the following settings:
|
||||
|
||||
Reference in new issue
Block a user