1
0
Fork 0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-11-29 14:50:08 +00:00

wizard: allow uppercase letters in choices

This commit is contained in:
Roman Perepelitsa 2020-12-16 16:07:00 +01:00
parent c14fe96b7c
commit e8afa806ce

View file

@ -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