From: Clint Adams <schizo@debian.org>
To: zsh-workers@sunsite.dk
Cc: Martin Godisch <martin@godisch.de>, 201685-forwarded@bugs.debian.org
Subject: Re: Bug#201685: zsh: bug in prompt expansion
Date: Fri, 23 Jul 2004 13:33:22 -0400 [thread overview]
Message-ID: <20040723173322.GA9988@scowler.net> (raw)
In-Reply-To: <20030717093311.GA9490@carlos.godisch.de>
I don't remember if this was discussed before.
On Thu, Jul 17, 2003 at 11:33:11AM +0200, Martin Godisch wrote:
>
> After PROMPT='%~%1(C./.) ' the full prompt should be `/ ' in the root
> directory, because the absolute path `/' does not have at least one element.
>
> PROMPT='%~%3(C./.) '
> / cd var
> /var cd lib
> /var/lib cd dpkg
> /var/lib/dpkg/ cd /
> / PROMPT='%~%2(C./.) '
> / cd var
> /var cd lib
> /var/lib/ cd dpkg
> /var/lib/dpkg/ cd /
> / PROMPT='%~%1(C./.) '
> // cd var
> /var/ cd lib
> /var/lib/ cd dpkg
> /var/lib/dpkg/ cd /
> //
next parent reply other threads:[~2004-07-23 17:34 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20030717093311.GA9490@carlos.godisch.de>
2004-07-23 17:33 ` Clint Adams [this message]
2004-07-23 18:02 ` Peter Stephenson
2004-07-26 17:14 ` Peter Stephenson
2004-07-29 11:46 ` Peter Stephenson
2004-07-27 9:18 ` Peter Stephenson
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=20040723173322.GA9988@scowler.net \
--to=schizo@debian.org \
--cc=201685-forwarded@bugs.debian.org \
--cc=martin@godisch.de \
--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).