bash completion bug with 'cd'

2006-10-29 Thread Benjamin Rutt
I have an animated gif that shows the bug.  If you browse to:

http://bmi.osu.edu/~rutt/bashcompletion.gif

it will show how e.g.

cd $HOM

will expand to

cd \$HOME

I think this is a bug in the method:

_cd()
{
local IFS=$'\t\n' cur=${COMP_WORDS[COMP_CWORD]} i j k
[...]
}

My version is

$Id: bash_completion,v 1.872 2006/03/01 16:20:18 ianmacd Exp $

Thanks,
-- 
Benjamin Rutt



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


Re: bash completion bug with 'cd'

2006-10-30 Thread Benjamin Rutt
Benjamin Rutt <[EMAIL PROTECTED]> writes:

> I have an animated gif that shows the bug.  If you browse to:
>
> http://bmi.osu.edu/~rutt/bashcompletion.gif
>
> it will show how e.g.
>
> cd $HOM
>
> will expand to
>
> cd \$HOME
>
> I think this is a bug in the method:
>
> _cd()
> {
>   local IFS=$'\t\n' cur=${COMP_WORDS[COMP_CWORD]} i j k
> [...]
> }

I should mention I posted here since my mail to Ian, the bash
completion maintainer, bounced.  Anyone knows how to reach him?
-- 
Benjamin Rutt



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