Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #11861 > unrolled thread

Re: Proposed Prompt Escapes

Started byAndreas Schwab <schwab@linux-m68k.org>
First post2015-11-10 19:14 +0100
Last post2015-11-10 19:14 +0100
Articles 1 — 1 participant

Back to article view | Back to gnu.bash.bug

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Proposed Prompt Escapes Andreas Schwab <schwab@linux-m68k.org> - 2015-11-10 19:14 +0100

#11861 — Re: Proposed Prompt Escapes

FromAndreas Schwab <schwab@linux-m68k.org>
Date2015-11-10 19:14 +0100
SubjectRe: Proposed Prompt Escapes
Message-ID<mailman.2073.1447179308.7904.bug-bash@gnu.org>
Dennis Williamson <dennistwilliamson@gmail.com> writes:

> But wait, you don't need the intermediate step! It already works!!!
>
> prompt=$'\u, something about dominoes \U1F061  \@ '

You should quote the backslashes.

prompt=$'\\u, something about dominoes \U1F061  \\@ '

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

[toc] | [standalone]


Back to top | Article view | gnu.bash.bug


csiph-web