1
0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2025-04-27 23:50:30 +08:00

chore(install): option case matching ()

This commit is contained in:
Gurram Siddarth Reddy 2025-03-21 00:59:33 +05:30 committed by GitHub
parent 0c8c7bf2a8
commit 22ec00d1f6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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