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=

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