Commit 01448020 authored by Robby Russell's avatar Robby Russell
Browse files

Merge pull request #4464 from rchiossi/master

Ask for confirmation before uninstall
parents dc06e96e 6b73f5ec
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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment