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
01448020
Commit
01448020
authored
Oct 09, 2015
by
Robby Russell
Browse files
Merge pull request #4464 from rchiossi/master
Ask for confirmation before uninstall
parents
dc06e96e
6b73f5ec
Changes
1
Hide whitespace changes
Inline
Side-by-side
tools/uninstall.sh
View file @
01448020
read
-r
-p
"Are you sure you want to remove Oh My Zsh? [y/N] "
confirmation
if
!
[[
$confirmation
=
~ ^[yY]
$
]]
then
echo
"Uninstall cancelled"
exit
fi
echo
"Removing ~/.oh-my-zsh"
echo
"Removing ~/.oh-my-zsh"
if
[
-d
~/.oh-my-zsh
]
if
[
-d
~/.oh-my-zsh
]
then
then
...
...
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