From: Phil Pennock <zsh-workers+phil.pennock@spodhuis.org>
To: Frank Terbeck <ft@bewatermyfriend.org>
Cc: zsh-workers@zsh.org
Subject: Re: PATCH: Fix quoting in `redhat' prompt
Date: Mon, 13 Feb 2012 19:08:35 -0500 [thread overview]
Message-ID: <20120214000834.GA85895@redoubt.spodhuis.org> (raw)
In-Reply-To: <871upyld63.fsf@ft.bewatermyfriend.org>
On 2012-02-13 at 20:57 +0100, Frank Terbeck wrote:
> Someone on IRC just noted, that when he's using the `redhat' prompt from
> zsh, that he's getting a "\$" prompt-mark instead of the "$" he was
> expecting. Turns out, that the quoting is a bit off (unless of course,
> the redhat prompt is *supposed* to look like that, which I can't quite
> believe).
The Centos prompt uses '$'/'#', per normal Bash convention. I assume
that this matches RedHat.
> + PS1='[%n@%m %1~]$ '
I suggest:
PS1='[%n@%m %1~]%(#.#.$) '
--
https://twitter.com/syscomet
next prev parent reply other threads:[~2012-02-14 0:25 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-13 19:57 Frank Terbeck
2012-02-14 0:08 ` Phil Pennock [this message]
2012-02-14 5:23 ` Wayne Davison
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=20120214000834.GA85895@redoubt.spodhuis.org \
--to=zsh-workers+phil.pennock@spodhuis.org \
--cc=ft@bewatermyfriend.org \
--cc=zsh-workers@zsh.org \
/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).