On Tue, Nov 10, 2015 at 12:14 PM, Andreas Schwab <sch...@linux-m68k.org> wrote:
> Dennis Williamson <dennistwilliam...@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, sch...@linux-m68k.org > GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 > "And now for something completely different." > Thanks. That's better since it defers their evaluation which is important when there is a conflict between the ANSI-C escapes and the prompt escapes (e.g. \u (user) followed immediately by hex chars, \t, \v). -- Visit serverfault.com to get your system administration questions answered.