Re: Bash completion no longer working...?
In linux.debian.user, I wrote:
> I tried reinstalling bash and everything that provided
> /etc/bsah_completion.d, I tried downgrading it all to stable, etc, but
> nothing has worked. I don't know what I changed or installed that
> might have broken this. Any ideas?
Well, despite tackling this for several days, I find the problem
almost as soon as posting. _filedir_xpec depends on having
$BASH_COMPLETION set. That's fine. There is a
declare -x BASH_COMPLETION=blah at the top of /etc/bash_completion.
Lo and behold, when I open up a new shell, BASH_COMPLETION is not set,
but BASH_COMPLETION_DIR is set. bash -x /etc/bash_completion tells me
it is being set. I suppose we just chalk this up to another Heisenbug?
So I just set it before running /etc/bash_completion - not a fix, but
it works...
--
TimC -- http://astronomy.swin.edu.au/staff/tconnors/
Confucius say: He who play in root, eventually kill tree.
Reply to: