Re: \w in PS1 hopelessly confuses bash in workdir ending in \

2008-08-15 Thread Michelle Konzack
Hi *, Am 2008-08-06 17:08:12, schrieb Chet Ramey: > > which seems harmless enough. However, if you do > > > > mkdir /tmp/chaos\\ ; cd /tmp/chaos\\ > > > > the prompt display hopelessly confuses bash. At first it displays > > nothing at all, then with repeated entries of RET fragments of color

Re: \w in PS1 hopelessly confuses bash in workdir ending in \

2008-08-06 Thread David Kastrup
Chet Ramey <[EMAIL PROTECTED]> writes: >> Machine Type: i486-pc-linux-gnu >> >> Bash Version: 3.2 >> Patch Level: 39 >> Release Status: release >> >> Description: >> >> \w in PS1 prompt string confuses bash when ending in \ >> >> The standard prompt setting in ubuntu is >> PS1="${debian_c

Re: \w in PS1 hopelessly confuses bash in workdir ending in \

2008-08-06 Thread Chet Ramey
> Machine Type: i486-pc-linux-gnu > > Bash Version: 3.2 > Patch Level: 39 > Release Status: release > > Description: > > \w in PS1 prompt string confuses bash when ending in \ > > The standard prompt setting in ubuntu is > PS1="${debian_chroot:+($debian_chroot)[EMAIL PROTECTED]:\w\$" > >

\w in PS1 hopelessly confuses bash in workdir ending in \

2008-08-06 Thread dak
Configuration Information [Automatically generated, do not change]: Machine: i486 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i486' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i486-pc-linux-gnu' -DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='ba