mirror of
https://gitee.com/mirrors/ohmyzsh.git
synced 2026-07-30 03:15:21 +08:00
chore(install): option case matching (#12881)
This commit is contained in:
+2
-2
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user