From: Frank Terbeck <ft@bewatermyfriend.org>
To: zsh-workers@zsh.org
Subject: PATCH: Fix quoting in `redhat' prompt
Date: Mon, 13 Feb 2012 20:57:08 +0100 [thread overview]
Message-ID: <871upyld63.fsf@ft.bewatermyfriend.org> (raw)
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).
Regards, Frank
diff --git a/Functions/Prompts/prompt_redhat_setup b/Functions/Prompts/prompt_redhat_setup
index 5bde7f9..e2b38d4 100644
--- a/Functions/Prompts/prompt_redhat_setup
+++ b/Functions/Prompts/prompt_redhat_setup
@@ -3,7 +3,7 @@
# Styled like the default prompt in Red Hat 5.1
#
prompt_redhat_setup () {
- PS1="[%n@%m %1~]\\$ "
+ PS1='[%n@%m %1~]$ '
PS2="> "
prompt_opts=( cr percent )
next reply other threads:[~2012-02-13 19:58 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-13 19:57 Frank Terbeck [this message]
2012-02-14 0:08 ` Phil Pennock
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=871upyld63.fsf@ft.bewatermyfriend.org \
--to=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).