mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-05-01 04:30:37 +02:00
Update .zsh-update immediately
This updates `LAST_EPOCH` in `~/.zsh-update` immediately after starting the upgrade. This prevents the "Would you like to check for updates?" prompt from showing up after starting the upgrade process and opening a new shell.
This commit is contained in:
parent
a7e30b26ba
commit
c6468f0b72
1 changed files with 1 additions and 1 deletions
|
|
@ -11,9 +11,9 @@ function _update_zsh_update() {
|
|||
}
|
||||
|
||||
function _upgrade_zsh() {
|
||||
env ZSH=$ZSH /bin/sh $ZSH/tools/upgrade.sh
|
||||
# update the zsh file
|
||||
_update_zsh_update
|
||||
env ZSH=$ZSH /bin/sh $ZSH/tools/upgrade.sh
|
||||
}
|
||||
|
||||
epoch_target=$UPDATE_ZSH_DAYS
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue