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
4e42e1f7
Commit
4e42e1f7
authored
Oct 21, 2015
by
Marc Cornellà
Browse files
Fix conditional in uninstall prompt
parent
b2010a0a
Changes
1
Hide whitespace changes
Inline
Side-by-side
tools/uninstall.sh
View file @
4e42e1f7
read
-r
-p
"Are you sure you want to remove Oh My Zsh? [y/N] "
confirmation
read
-r
-p
"Are you sure you want to remove Oh My Zsh? [y/N] "
confirmation
if
[
$confirmation
=
y
]
&&
[
$confirmation
=
Y
]
if
[
$confirmation
=
y
]
||
[
$confirmation
=
Y
]
then
then
echo
"Uninstall cancelled"
echo
"Uninstall cancelled"
exit
exit
...
...
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