1
0
mirror of https://github.com/robbyrussell/oh-my-zsh.git synced 2025-12-06 15:30:40 +01:00

chore(install): option case matching (#12881)

This commit is contained in:
Gurram Siddarth Reddy
2025-03-21 00:59:33 +05:30
committed by GitHub
parent 0c8c7bf2a8
commit 22ec00d1f6

View File

@@ -399,8 +399,8 @@ EOF
"$FMT_YELLOW" "$FMT_RESET"
read -r opt
case $opt in
y*|Y*|"") ;;
n*|N*) echo "Shell change skipped."; return ;;
[Yy]*|"") ;;
[Nn]*) echo "Shell change skipped."; return ;;
*) echo "Invalid choice. Shell change skipped."; return ;;
esac