Commit 6b73f5ec authored by Rodrigo Chiossi's avatar Rodrigo Chiossi
Browse files

Ask for confirmation before uninstall

Prompt the user before removing oh-my-zsh from the system
parent f3fa4183
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"
if [ -d ~/.oh-my-zsh ]
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