Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Oh My Zsh
Commits
3f6e87df
Unverified
Commit
3f6e87df
authored
Jun 17, 2020
by
Marc Cornellà
Committed by
GitHub
Jun 17, 2020
Browse files
init: run update check in the same zsh process (#9019)
parent
db94f60d
Changes
1
Hide whitespace changes
Inline
Side-by-side
oh-my-zsh.sh
View file @
3f6e87df
...
...
@@ -5,9 +5,7 @@ if [[ -z "$ZSH_CACHE_DIR" ]]; then
fi
# Check for updates on initial load...
if
[
"
$DISABLE_AUTO_UPDATE
"
!=
"true"
]
;
then
env
ZSH
=
$ZSH
ZSH_CACHE_DIR
=
$ZSH_CACHE_DIR
DISABLE_UPDATE_PROMPT
=
$DISABLE_UPDATE_PROMPT
zsh
-f
$ZSH
/tools/check_for_upgrade.sh
fi
source
$ZSH
/tools/check_for_upgrade.sh
# Initializes Oh My Zsh
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment