Re: Handling of \W in the PS1 prompt is buggy in certain cases.
From:
Andreas Schwab
Subject:
Re: Handling of \W in the PS1 prompt is buggy in certain cases.
Date:
Wed, 14 Nov 2012 00:38:56 +0100
User-agent:
Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux)
dpovey@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 upgrade.
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."