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

Re: configuring the new completion system



On Wed, 7 Jun 2000, Bart Schaefer wrote:
> I think you want to NOT rebind '\t' to complete-word -- that is,
> leave it bound to expand-or-complete -- AND leave out the _expand
> completer.  This will give you the old behavior of expansion
> followed by the new behavior of completion.

That would be cool if I could get it to work.  However, no matter
what I try, tab does not expand wildcards with expand-or-complete
set.  It just expands $VARIABLES.

> You can still get the new behavior of _expand from <C-x e> in this case.

The only thing I get when I do that is this error:

    _expand_word:5: curcontext: parameter not set

This is caused by my predilection to having the "no_unset" option set
for my interactive-shell use.  Seems like this should get turned off
when the shell runs some completion/expansion code.  Do we have an
existing solution for such things?

When I "setopt unset", then the <C-x e> binding is quite handy.  If I
could just re-introduce those old changes to have it stop expanding
tildes, I'd be quite happy.

..wayne..



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