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

Re: PATCH: this and that



I wrote:

> ...
>
> +example(zstyle ':completion:*' completer '
> +  if [[ $_last_try = "$HISTNO$BUFFER$CURSOR" ]]; then
> +    reply=(_complete _match _prefix)
> +  else
> +    _last_try="$HISTNO$BUFFER$CURSOR"
> +    reply=( _ignored _correct _approximate)
> +  fi')

Before someone corrects me: the completer sets have to be exchanged,
of course (or the test and the assignment).  I've corrected that in
CVS.

Sorry.

Bye
 Sven


--
Sven Wischnowsky                         wischnow@xxxxxxxxxxxxxxxxxxxxxxx



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