* zsh-workers/25095 broke "prompt bart"
@ 2008-09-03 2:01 Bart Schaefer
2008-09-03 3:12 ` Bart Schaefer
0 siblings, 1 reply; 2+ messages in thread
From: Bart Schaefer @ 2008-09-03 2:01 UTC (permalink / raw)
To: zsh-workers
I probably would never have noticed this if I weren't playing around with
randomly resizing the window and therefore saw the right-side part of the
prompt appear and disappear for no obvious reason.
The following seems to fix it but I'm not sure I understand why the {*}
doesn't match too much when used in the substitution on line 97.
--- ../current/Functions/Prompts/prompt_bart_setup 2008-06-04 08:43:46.000000000 -0700
+++ Functions/Prompts/prompt_bart_setup 2008-09-02 18:52:13.000000000 -0700
@@ -70,7 +70,7 @@
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: zsh-workers/25095 broke "prompt bart"
2008-09-03 2:01 zsh-workers/25095 broke "prompt bart" Bart Schaefer
@ 2008-09-03 3:12 ` Bart Schaefer
0 siblings, 0 replies; 2+ messages in thread
From: Bart Schaefer @ 2008-09-03 3:12 UTC (permalink / raw)
To: zsh-workers
For the record, the Subject contains a typo, the number should be 25059.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-09-03 3:13 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-09-03 2:01 zsh-workers/25095 broke "prompt bart" Bart Schaefer
2008-09-03 3:12 ` Bart Schaefer
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).