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


Groups > gnu.bash.bug > #11861

Re: Proposed Prompt Escapes

From Andreas Schwab <schwab@linux-m68k.org>
Newsgroups gnu.bash.bug
Subject Re: Proposed Prompt Escapes
Date 2015-11-10 19:14 +0100
Message-ID <mailman.2073.1447179308.7904.bug-bash@gnu.org> (permalink)
References <CANaoh6KA9Z3Uo_8qy-biaQx6MW1Z3h7DsC2uU-M=RTwrPPGBVA@mail.gmail.com> <CANaoh6LYNNr3spYPd0uLy-62Ho4S_bHn0OmPCDRjy4KOR4Pt-A@mail.gmail.com> <CANaoh6LVU_mPG-WqHXGE2x4ki2ai754TVUZP8FA2ym1EQbpZpw@mail.gmail.com>

Show all headers | View raw


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

Back to gnu.bash.bug | Previous | Next | Find similar | Unroll thread


Thread

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

csiph-web