zsh-users
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: zsh-users@sunsite.dk
Subject: Re: Adding a new-line to the prompt.
Date: Mon, 03 Jul 2006 14:55:33 -0700	[thread overview]
Message-ID: <060703145533.ZM31419@torch.brasslantern.com> (raw)
In-Reply-To: <ad9751290607031115m36c059c8o9d189348f58d2bbe@mail.gmail.com>

On Jul 3, 11:15am, Alex Polite wrote:
}
} Thanks that hit the spot. Now I have this:
} 
} fg_dark_gray=$'%{\e[1;30m%}'
} fg_no_colour=$'%{\e[0m%}'
} 
} lb="%{$fg_dark_gray%}[%{$fg_no_colour%}"

It doesn't really hurt anything in this case, but you've got too many
%{ and %} in there.  You don't need them both within the definition of
$fg_dark_gray et al. and also around the use of same.

} rb="$fg_dark_gray]$fg_no_colour"

That's better.

In one of your earlier messages you had %{ ... %} aournd some thingd
it should not have been, where it did matter, but you seem to have got
that fixed now.


  reply	other threads:[~2006-07-03 21:56 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-03 17:08 Alex Polite
2006-07-03 17:31 ` Frank Terbeck
2006-07-03 18:15   ` Alex Polite
2006-07-03 21:55     ` Bart Schaefer [this message]
2006-07-03 18:06 ` Mikhail Gusarov
2006-07-03 19:22 ` Nikolai Weibull

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=060703145533.ZM31419@torch.brasslantern.com \
    --to=schaefer@brasslantern.com \
    --cc=zsh-users@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).