On Fri 23-05-14 06:13:13, Eric Blake wrote:
> On 05/23/2014 02:32 AM, Libor Pechacek wrote:
>
> > +++ b/general.c
> > @@ -699,7 +699,10 @@ polite_directory_format (name)
> >int l;
> >
> >home = get_string_value ("HOME");
> > - l = home ? strlen (home) : 0;
> > +
> > + /* remove trailin
On 05/23/2014 02:32 AM, Libor Pechacek wrote:
> +++ b/general.c
> @@ -699,7 +699,10 @@ polite_directory_format (name)
>int l;
>
>home = get_string_value ("HOME");
> - l = home ? strlen (home) : 0;
> +
> + /* remove trailing slashes from $HOME before comparisons */
> + for (l = home ?
On Fri 16-05-14 09:13:34, Chet Ramey wrote:
> 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 sla
Hi Chet,
On Fri 16-05-14 09:13:34, Chet Ramey wrote:
> 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 end
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/ar
Configuration Information [Automatically generated, do not change]:
Machine: x86_64
OS: linux-gnu
Compiler: gcc -I/home/abuild/rpmbuild/BUILD/bash-4.2
-L/home/abuild/rpmbuild/BUILD/bash-4.2/../readline-6.2
Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64'
-DCONF_OSTYPE='linux-gnu' -D