Re: Handling of \W in the PS1 prompt is buggy in certain cases.

2012-11-13 Thread Chet Ramey
On 11/13/12 5:26 PM, dpo...@gmail.com wrote: > Bash Version: 4.1 > Patch Level: 5 > Release Status: release > > Description: > > If a directory is a subdirectory of / and has four or five characters in > its name, the PS1 prompt is wrong for it. Examples below. This was fixed in bash-4.1 patch

Re: Handling of \W in the PS1 prompt is buggy in certain cases.

2012-11-13 Thread Andreas Schwab
dpo...@gmail.com writes: > Bash Version: 4.1 > Patch Level: 5 > Release Status: release > > Description: > > If a directory is a subdirectory of / and has four or five characters in > its name, the PS1 prompt is wrong for it. Examples below. This has been fixed already in 4.1.10, you should upgr

Handling of \W in the PS1 prompt is buggy in certain cases.

2012-11-13 Thread dpovey
Configuration Information [Automatically generated, do not change]: Machine: x86_64 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-pc-linux-gnu' -DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale' -DPACKA