Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: how to revert tab completion order in _arguments or _describe
- X-seq: zsh-users 21506
- From: Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx>
- To: Paul Seyfert <pseyfert@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Subject: Re: how to revert tab completion order in _arguments or _describe
- Date: Sat, 30 Apr 2016 00:46:38 +0000
- Cc: Zsh Users <zsh-users@xxxxxxx>
- In-reply-to: <572375FD.80200__31649.435326881$1461944191$gmane$org@mathphys.fsk.uni-heidelberg.de>
- 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: <572375FD.80200__31649.435326881$1461944191$gmane$org@mathphys.fsk.uni-heidelberg.de>
Paul Seyfert wrote on Fri, Apr 29, 2016 at 16:55:57 +0200:
> One drawback though is that I'm usually most interested in the latest
> version number but the menu completion starts with the oldest version
> number (i think it's alphabetically ordered). Is there a way to tell the
> _describe in the (listversions) state to cycle through the options in a
> specific order? (actually i'm not bound to stick to _describe there, any
> other function would be fine, too)
Yes. The option to show completions in the order given is either -J or
-V (I don't remember which); both of them are documented under the
'compadd' builtin.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author