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

Re: Completion doesn't work after upgrade

Klaus Wacker wrote:

> Dear Zsh, I just upgraded my notebook from Debian Linux 2.1 to 2.2,
> which brought with it an upgrade of zsh from 3.1.2-10 to
> 3.1.6.pws21-1. After the upgrade, TAB completion didn't work any more,
> i.e., hitting TAB when the cursor is at the end of an incomplete
> filename on the command line has no effect at all.
> I found by accident that `compctl -L' will make it work again,
> although, according to man zshcomp, the existing behavior is not
> supposed to be changed by this option.
> I traced the problem to the two statements:
> bindkey -me
> bindkey '^[[2~' overwrite-mode
> in my ~/.zshrc. If I omit both, the problem goes away. Either one of
> them or both will cause the problem to reappear.
> I could of course put `compctl -L >/dev/null' into my .zshrc, but
> somehow I think that that is not the correct solution.

At least one of the betas had the bug that the compctl module
wasn't loaded automatically (and it was affected by autoloading of the
zle module). I'm pretty sure this is the problem you've discovered.

So, to make things work, you can either use the workaround you
discovered or upgrade to a newer version of zsh.

You can also have a look at the new completion system...

We apologise for the inconvenience.


P.S.: This has been fixed quite some time ago, dunno why Debian 2.2
      comes with a version of zsh that has this bug.

Sven Wischnowsky                         wischnow@xxxxxxxxxxxxxxxxxxxxxxx

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