about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--Functions/Prompts/prompt_bart_setup2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 37eb6baa8..52a79b8d5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-09-02  Barton E. Schaefer  <schaefer@zsh.org>
+
+	* 25600: Functions/Prompts/prompt_bart_setup: fix pattern
+	introduced in 25059 that broke PS1 parsing.
+
 2008-09-02  Clint Adams  <clint@zsh.org>
 
 	* Mikael Magnusson: 25594: Completion/Unix/Command/_git:
diff --git a/Functions/Prompts/prompt_bart_setup b/Functions/Prompts/prompt_bart_setup
index a71bf2deb..55dd292e8 100644
--- a/Functions/Prompts/prompt_bart_setup
+++ b/Functions/Prompts/prompt_bart_setup
@@ -70,7 +70,7 @@ integer PSCOL=1
 
 prompt_bart_precmd () {
     setopt localoptions noxtrace noksharrays unset
-    local zero='%([BSUbfksu]|FB{*})' escape colno lineno
+    local zero='%([BSUbfksu]|[FB]{*})' escape colno lineno
 
     # Using psvar here protects against unwanted promptsubst expansions.