mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-12-25 00:21:58 +00:00
wizard: allow uppercase letters in choices
This commit is contained in:
parent
c14fe96b7c
commit
e8afa806ce
1 changed files with 1 additions and 0 deletions
|
@ -406,6 +406,7 @@ function ask() {
|
|||
fi
|
||||
typeset -g choice=
|
||||
if read -t1 -k choice; then
|
||||
choice=${(L)choice}
|
||||
if [[ $choice == q ]]; then
|
||||
quit
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue