From d4ade1218714f360755ca5926a48756c14fa5c6e Mon Sep 17 00:00:00 2001 From: huyz Date: Wed, 12 Dec 2012 23:27:19 -0800 Subject: [PATCH] Fixed switching prompt by name --- modules/prompt/functions/prompt_progressive_setup | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/prompt/functions/prompt_progressive_setup b/modules/prompt/functions/prompt_progressive_setup index c1762571..e7206548 100644 --- a/modules/prompt/functions/prompt_progressive_setup +++ b/modules/prompt/functions/prompt_progressive_setup @@ -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