J.O. Aho wrote:
> 
> Got a bit irritated when updating my Gentoo boxes to use bash 3.00.16,
> the \W and \w options for the prompt now replaces the home directory
> name to tilde, I hope I'm not the only one who wants to see the home
> directory name instead of the tilde.
> 
> Wouldn't it be possible to see options \U and \u (just a suggestion)
> which behaives as \W and \w used to do under 2.05.

I'd rather not do that.  It's trivial to emulate the 2.05 behavior using
something like ${PWD##/*/}.  It's not quite as easy to emulate the 3.0
behavior using shell expansions.

Chet

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
( ``Discere est Dolere'' -- chet )
                                                Live...Laugh...Love
Chet Ramey, ITS, CWRU    [EMAIL PROTECTED]    http://tiswww.tis.case.edu/~chet/


_______________________________________________
Bug-bash mailing list
Bug-bash@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-bash

Reply via email to