diff options
| author | Gurram Siddarth Reddy <73605274+siddarthreddygsr@users.noreply.github.com> | 2025-03-21 00:59:33 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-03-20 20:29:33 +0100 |
| commit | 22ec00d1f62ffe9c5e04d6eefc49be40e082407d (patch) | |
| tree | bfa5cb4a97a68fb5533a4eda8524be40da26bf96 | |
| parent | 0c8c7bf2a8efa66b504d17e3b56881925a580b40 (diff) | |
| download | zsh-22ec00d1f62ffe9c5e04d6eefc49be40e082407d.tar.gz zsh-22ec00d1f62ffe9c5e04d6eefc49be40e082407d.tar.bz2 zsh-22ec00d1f62ffe9c5e04d6eefc49be40e082407d.zip | |
chore(install): option case matching (#12881)
| -rwxr-xr-x | tools/install.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/install.sh b/tools/install.sh index e5f126915..5c9b2c18d 100755 --- a/tools/install.sh +++ b/tools/install.sh @@ -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 |
