Commit 4e42e1f7 authored by Marc Cornellà's avatar Marc Cornellà

Fix conditional in uninstall prompt

parent b2010a0a
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
......
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