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
Ohmyzsh
Commits
6a1b8320
Commit
6a1b8320
authored
Apr 20, 2015
by
HeroCC
Committed by
ncanceill
Jun 10, 2015
Browse files
No input for Update Check defaults to Yes
parent
4224c2a1
Changes
1
Hide whitespace changes
Inline
Side-by-side
tools/check_for_upgrade.sh
View file @
6a1b8320
...
...
@@ -41,10 +41,9 @@ then
then
_upgrade_zsh
else
echo
"[Oh My Zsh] Would you like to check for updates?"
echo
"Type Y to update oh-my-zsh:
\c
"
echo
"[Oh My Zsh] Would you like to check for updates? [Y/n]:
\c
"
read
line
if
[
"
$line
"
=
Y
]
||
[
"
$line
"
=
y
]
;
then
if
[
"
$line
"
=
Y
]
||
[
"
$line
"
=
y
]
||
[
-z
"
$line
"
]
;
then
_upgrade_zsh
else
_update_zsh_update
...
...
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