zsh-workers
 help / color / mirror / code / Atom feed
* PATCH: Fix quoting in `redhat' prompt
@ 2012-02-13 19:57 Frank Terbeck
  2012-02-14  0:08 ` Phil Pennock
  0 siblings, 1 reply; 3+ messages in thread
From: Frank Terbeck @ 2012-02-13 19:57 UTC (permalink / raw)
  To: zsh-workers

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 )


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-02-14  5:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-02-13 19:57 PATCH: Fix quoting in `redhat' prompt Frank Terbeck
2012-02-14  0:08 ` Phil Pennock
2012-02-14  5:23   ` Wayne Davison

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).