[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: $HOME does not get abbreviated in prompt \w output when there is a t
From: |
Chet Ramey |
Subject: |
Re: $HOME does not get abbreviated in prompt \w output when there is a trailing slash |
Date: |
Fri, 16 May 2014 09:13:34 -0400 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 |
On 5/16/14, 5:22 AM, Libor Pechacek wrote:
> Bash Version: 4.2
> Patch Level: 46
> Release Status: release
>
> Description:
> Bash prompt always shows full path in prompt instead of tilde
> abbreviation when $HOME ends with slash.
This came up in March, 2012:
http://lists.gnu.org/archive/html/bug-bash/2012-03/msg00055.html
My opinion that this is not a bug in bash hasn't changed. There are a
number of easy ways to remove this trailing slash.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU chet@case.edu http://cnswww.cns.cwru.edu/~chet/