Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Three questions about a completer
- X-seq: zsh-users 21896
- From: Jesper Nygårds <jesper.nygards@xxxxxxxxx>
- To: Zsh Users <zsh-users@xxxxxxx>
- Subject: Re: Three questions about a completer
- Date: Tue, 13 Sep 2016 21:18:06 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=MlaWYUCeMudvxYTj6WyLWrGuaJN1JsioYn3FsqthRiM=; b=wy3VoQEdCDA3mjLwANCMbk88zookd4ILJdZlLZo2pkPn4ca7zHcbEPByRJWYZE809x PKYfPK10WUNuHvW3u6BEWls49I+FZCBW5UdsI1tJ1VulGNdRz3omUv84zr8Zj+VR0/Ud AmyGvPrvgEaiTAoT9klccdqct7Za8uK/MgZ58z+iDyrpUapFBjG5dkHlTRZlKpTQ5O20 7u69I06mPS4GLNCeca453ibDKGnBP8tUTmPldEY3ktYg03Lf11jcFIM6OIfU0OukqREN 5Suwen+te0Qy2NSOnk8z80FNuwflP5DV1+PFDXjLZRw+v39mygE9rfY1tmk/drn7J2T0 xHrQ==
- In-reply-to: <CABZhJg_kVjB4Wb1FH2xb7=dB8wU4pLLa8H7Jf4+p-Mahjv3wPA@mail.gmail.com>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <CABZhJg-VR4ss0KpxLvUnrUS7JnTVGGdSWePH7NzCzQvdimMubg@mail.gmail.com> <75335.1473713583@hydra.kiddle.eu> <CABZhJg_kVjB4Wb1FH2xb7=dB8wU4pLLa8H7Jf4+p-Mahjv3wPA@mail.gmail.com>
Sorry, this was an oversight on my part. When reducing the problem, I had
worked with a minimal .zshrc, and removed even the lines
autoload -U compinit
compinit
So now, at least, I get the completion to trigger. However, I still have
the same problem: hitting alt-e for menu-complete works, and hitting alt-E
for reverse-menu-complete works as well, but switching direction doesn't:
zsh puts a space after the alternative on the command line, indicating that
there is only one matching alternative. And I interpret that to mean that
it takes whatever happens to be on the command line after the initial
menu-complete, and tries to match that against the list it gets from the
invocation of reverse-menu-complete. Naturally, only the alternative
already on the command line matches.
So I suppose the problem is to make zsh realize it is calling "the same"
completer, only reversing the direction of the listing. Is this possible to
do?
Messages sorted by:
Reverse Date,
Date,
Thread,
Author