1
0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-22 12:46:13 +08:00

Fix conditional in uninstall prompt

This commit is contained in:
Marc Cornellà 2015-10-21 11:28:12 +02:00
parent b2010a0ae6
commit 4e42e1f7e1

View File

@ -1,5 +1,5 @@
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
echo "Uninstall cancelled"
exit