mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-02-06 02:51:32 +01:00
fixed shell option case matching
This commit is contained in:
parent
d82669199b
commit
72f661b5a9
1 changed files with 2 additions and 2 deletions
|
|
@ -399,8 +399,8 @@ EOF
|
||||||
"$FMT_YELLOW" "$FMT_RESET"
|
"$FMT_YELLOW" "$FMT_RESET"
|
||||||
read -r opt
|
read -r opt
|
||||||
case $opt in
|
case $opt in
|
||||||
y*|Y*|"") ;;
|
[Yy]*|"") ;;
|
||||||
n*|N*) echo "Shell change skipped."; return ;;
|
[Nn]*) echo "Shell change skipped."; return ;;
|
||||||
*) echo "Invalid choice. Shell change skipped."; return ;;
|
*) echo "Invalid choice. Shell change skipped."; return ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue