Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
O
oh-my-zsh
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
github
oh-my-zsh
Commits
5ffc0d03
Unverified
Commit
5ffc0d03
authored
Jun 18, 2020
by
Ye Shu
Committed by
GitHub
Jun 18, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
init: don't run update check if DISABLE_AUTO_UPDATE (#9040)
skip the update check at initialization if DISABLE_AUTO_UPDATE is set to true
parent
d47447a5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
oh-my-zsh.sh
oh-my-zsh.sh
+3
-1
No files found.
oh-my-zsh.sh
View file @
5ffc0d03
...
...
@@ -5,7 +5,9 @@ if [[ -z "$ZSH_CACHE_DIR" ]]; then
fi
# Check for updates on initial load...
source
$ZSH
/tools/check_for_upgrade.sh
if
[
"
$DISABLE_AUTO_UPDATE
"
!=
"true"
]
;
then
source
$ZSH
/tools/check_for_upgrade.sh
fi
# 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