diff --git a/tools/uninstall.sh b/tools/uninstall.sh index 80b11a10..9ad1b64a 100644 --- a/tools/uninstall.sh +++ b/tools/uninstall.sh @@ -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