about summary refs log tree commit diff
diff options
context:
space:
mode:
authorBart Schaefer <barts@users.sourceforge.net>2008-09-03 03:12:01 +0000
committerBart Schaefer <barts@users.sourceforge.net>2008-09-03 03:12:01 +0000
commitae79d264a3fd989713f6c7413c5096151413f284 (patch)
tree14a3ca2b9e7169fb319bfef36df1ec7e5d62dc3d
parent63333a5224d565ea8156b85b9be349817af916eb (diff)
downloadzsh-ae79d264a3fd989713f6c7413c5096151413f284.tar.gz
zsh-ae79d264a3fd989713f6c7413c5096151413f284.tar.xz
zsh-ae79d264a3fd989713f6c7413c5096151413f284.zip
25600: fix incorrect pattern introduced by 25059.
-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.