bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

PS1 \W behaviour: how to get the "old" way back?


From: Tim Waugh
Subject: PS1 \W behaviour: how to get the "old" way back?
Date: Wed, 23 Feb 2005 16:52:07 +0000
User-agent: Mutt/1.4.2.1i

In bash-3.0 this was added:

kk. The `\W' prompt expansion now abbreviates $HOME as `~', like `\w'.

It seems that a large number of people preferred things the way they
were before, with \W giving the basename with no tilde abbreviation.

Since there is no easy way of achieving this without resorting to
PROMPT_COMMAND, could there be a new escape sequence added for it?

Thanks,
Tim.
*/

Attachment: pgpjge8i2C6ZX.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]