mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-12 21:39:48 +01:00
init: run update check in the same zsh process (#9019)
This commit is contained in:
parent
db94f60d34
commit
3f6e87df15
1 changed files with 1 additions and 3 deletions
|
@ -5,9 +5,7 @@ if [[ -z "$ZSH_CACHE_DIR" ]]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Check for updates on initial load...
|
# Check for updates on initial load...
|
||||||
if [ "$DISABLE_AUTO_UPDATE" != "true" ]; then
|
source $ZSH/tools/check_for_upgrade.sh
|
||||||
env ZSH=$ZSH ZSH_CACHE_DIR=$ZSH_CACHE_DIR DISABLE_UPDATE_PROMPT=$DISABLE_UPDATE_PROMPT zsh -f $ZSH/tools/check_for_upgrade.sh
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Initializes Oh My Zsh
|
# Initializes Oh My Zsh
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue