1
0
Fork 0

Fixed switching prompt by name

pull/340/head
huyz 12 years ago
parent a4d4671372
commit d4ade12187

@ -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…
Cancel
Save