mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-03-03 21:20:50 +08:00
fixed shell option case matching
This commit is contained in:
parent
d82669199b
commit
72f661b5a9
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user