From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3160 invoked by alias); 30 Apr 2016 00:46:48 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 21506 Received: (qmail 792 invoked from network); 30 Apr 2016 00:46:44 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.1 Date: Sat, 30 Apr 2016 00:46:38 +0000 From: Daniel Shahaf To: Paul Seyfert Cc: Zsh Users Subject: Re: how to revert tab completion order in _arguments or _describe Message-ID: <20160430004638.GA30740@tarsus.local2> References: <572375FD.80200__31649.435326881$1461944191$gmane$org@mathphys.fsk.uni-heidelberg.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <572375FD.80200__31649.435326881$1461944191$gmane$org@mathphys.fsk.uni-heidelberg.de> User-Agent: Mutt/1.5.23 (2014-03-12) 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.