Unverified Commit 3f6e87df authored by Marc Cornellà's avatar Marc Cornellà Committed by GitHub
Browse files

init: run update check in the same zsh process (#9019)

parent db94f60d
...@@ -5,9 +5,7 @@ if [[ -z "$ZSH_CACHE_DIR" ]]; then ...@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment