Fixed switching prompt by name
This commit is contained in:
parent
a4d4671372
commit
d4ade12187
1 changed files with 1 additions and 0 deletions
|
@ -152,6 +152,7 @@ function prompt_progressive_setup {
|
||||||
4) style=unabbreviated ;;
|
4) style=unabbreviated ;;
|
||||||
5) style=multiline ;;
|
5) style=multiline ;;
|
||||||
6) style=verbose ;;
|
6) style=verbose ;;
|
||||||
|
[a-z]*) style="$1" ;;
|
||||||
*)
|
*)
|
||||||
print -P "Unrecognized style '%F{blue}$style%f'." >&2
|
print -P "Unrecognized style '%F{blue}$style%f'." >&2
|
||||||
style=concise
|
style=concise
|
||||||
|
|
Loading…
Add table
Reference in a new issue