Fixed switching prompt by name

This commit is contained in:
huyz 2012-12-12 23:27:19 -08:00
parent a4d4671372
commit d4ade12187

View file

@ -152,6 +152,7 @@ function prompt_progressive_setup {
4) style=unabbreviated ;;
5) style=multiline ;;
6) style=verbose ;;
[a-z]*) style="$1" ;;
*)
print -P "Unrecognized style '%F{blue}$style%f'." >&2
style=concise