zsh-workers
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: zsh-workers@sunsite.dk
Subject: zsh-workers/25095 broke "prompt bart"
Date: Tue, 02 Sep 2008 19:01:35 -0700	[thread overview]
Message-ID: <080902190135.ZM9756@torch.brasslantern.com> (raw)

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.


             reply	other threads:[~2008-09-03  2:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-03  2:01 Bart Schaefer [this message]
2008-09-03  3:12 ` Bart Schaefer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=080902190135.ZM9756@torch.brasslantern.com \
    --to=schaefer@brasslantern.com \
    --cc=zsh-workers@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).