mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-17 10:10:07 +00:00
wizard: record instant_prompt and transient_prompt options
This commit is contained in:
parent
4b451fbc8a
commit
611dd73ca2
1 changed files with 4 additions and 4 deletions
|
@ -1261,9 +1261,9 @@ function ask_instant_prompt() {
|
|||
case $key in
|
||||
q) quit;;
|
||||
r) return 1;;
|
||||
1) instant_prompt=off; break;;
|
||||
2) instant_prompt=quiet; break;;
|
||||
3) instant_prompt=verbose; break;;
|
||||
1) instant_prompt=off; options+=instant_prompt=off; break;;
|
||||
2) instant_prompt=quiet; options+=instant_prompt=quiet; break;;
|
||||
3) instant_prompt=verbose; options+=instant_prompt=verbose; break;;
|
||||
esac
|
||||
done
|
||||
}
|
||||
|
@ -1313,7 +1313,7 @@ function ask_transient_prompt() {
|
|||
case $key in
|
||||
q) quit;;
|
||||
r) return 1;;
|
||||
y) transient_prompt=1; break;;
|
||||
y) transient_prompt=1; options+=transient_prompt; break;;
|
||||
n) transient_prompt=0; break;;
|
||||
esac
|
||||
done
|
||||
|
|
Loading…
Reference in a new issue