mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-25 21:40:08 +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
|
fi
|
||||||
typeset -g choice=
|
typeset -g choice=
|
||||||
if read -t1 -k choice; then
|
if read -t1 -k choice; then
|
||||||
|
choice=${(L)choice}
|
||||||
if [[ $choice == q ]]; then
|
if [[ $choice == q ]]; then
|
||||||
quit
|
quit
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue