From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8062 invoked by alias); 8 Jan 2013 21:30:00 -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: 17540 Received: (qmail 23083 invoked from network); 8 Jan 2013 21:29:58 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE, SPF_HELO_PASS autolearn=ham version=3.3.2 Received-SPF: pass (ns1.primenet.com.au: SPF record at m.gmane.org designates 80.91.229.3 as permitted sender) X-Injected-Via-Gmane: http://gmane.org/ To: zsh-users@zsh.org From: Daniel Subject: Re: completer that first expands global aliases (Re: dsf) Date: Tue, 8 Jan 2013 21:29:37 +0000 (UTC) Message-ID: References: <1357650387.9070.YahooMailNeo@web171903.mail.ir2.yahoo.com> <20130108170145.GA4762@kelebek.lublin.se> <130108102404.ZM4596@torch.brasslantern.com> X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: c83-249-23-194.bredband.comhem.se User-Agent: slrn/1.0.1 (Linux) > In this case, you can either create a new widget for the most-recent-* > completion and assign to compprefuncs in the widget, or you can embed it > in the completer style definition by using the -e option: > > zstyle -e ':completion:most-recent-*::::' completer \ > 'compprefuncs=(_expand_alias) reply=(_menu _complete _match)' Ah, I understand how this is supposed to work; both your examples. Though, neither of them does work. I have to press ^Xm twice, first to expand my DL, and a second time to get a first file match.