bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bash completion bug with 'cd'


From: Benjamin Rutt
Subject: bash completion bug with 'cd'
Date: Sat, 28 Oct 2006 11:50:47 -0400
User-agent: Gnus/5.110002 (No Gnus v0.2) Emacs/22.0.50 (gnu/linux)

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<press TAB>

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]