Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: apt-get autocomplete bug

On Wed, Jun 09, 2010 at 10:40:14PM +0200, Sebastian Tramp wrote:
> Hello,
> I've a problem with using the apt-get autocompletion on my ubuntu
> machine. I creates the DEBS_avail cache not in my home but in the
> current directory under ./~.
> e.g. if I run apt-get in /opt, it will create
> /opt/~/.zsh/MyHostName-cache/DEBS_avail
> I remember that this was not the case three ubuntu releases ago but
> since the last two releases this is buggy.
> Is there a known solution?
> best regards
> S.Tramp

I haven't looked into the problem (it works fine for me, I have a
old zsh but current completion files though), but if you know git
(a little) you could check where the bug was introduced.

Get the git checkout:

    git clone git://zsh.git.sf.net/gitroot/zsh/zsh

And use git bisect to find the problem.

    git bisect start
    git bisect bad
    git bisect good known-good-revision-here

And then just git bisect good/bad depending if the bug is still
present after you've recompiled zsh (put it in a temporary
location like --prefix=$HOME/zsh-test).

Hope this helps,
+ privacy is necessary
+ using gnupg http://gnupg.org
+ public key id: 0x92FEFDB7E44C32F9

Attachment: pgpvjPs0JJNU_.pgp
Description: PGP signature

Messages sorted by: Reverse Date, Date, Thread, Author