From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2362 invoked from network); 29 Feb 2008 17:29:40 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.4 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 29 Feb 2008 17:29:40 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 85431 invoked from network); 29 Feb 2008 17:29:36 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 29 Feb 2008 17:29:36 -0000 Received: (qmail 7401 invoked by alias); 29 Feb 2008 17:29:33 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 24634 Received: (qmail 7386 invoked from network); 29 Feb 2008 17:29:33 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 29 Feb 2008 17:29:33 -0000 Received: from vms042pub.verizon.net (vms042pub.verizon.net [206.46.252.42]) by bifrost.dotsrc.org (Postfix) with ESMTP id 540838026E0B for ; Fri, 29 Feb 2008 18:29:27 +0100 (CET) Received: from torch.brasslantern.com ([71.121.18.67]) by vms042.mailsrvcs.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTPA id <0JX000IZZGKI3Y44@vms042.mailsrvcs.net> for zsh-workers@sunsite.dk; Fri, 29 Feb 2008 11:29:08 -0600 (CST) Received: from torch.brasslantern.com (localhost.localdomain [127.0.0.1]) by torch.brasslantern.com (8.13.1/8.13.1) with ESMTP id m1THT555017629 for ; Fri, 29 Feb 2008 09:29:06 -0800 Received: (from schaefer@localhost) by torch.brasslantern.com (8.13.1/8.13.1/Submit) id m1THT5iq017628 for zsh-workers@sunsite.dk; Fri, 29 Feb 2008 09:29:05 -0800 Date: Fri, 29 Feb 2008 09:29:05 -0800 From: Bart Schaefer Subject: Re: hash completion oddity In-reply-to: <237967ef0802290720y7b7d8e91n5df822fd989b69c@mail.gmail.com> To: zsh-workers Message-id: <080229092905.ZM17627@torch.brasslantern.com> MIME-version: 1.0 X-Mailer: OpenZMail Classic (0.9.2 24April2005) Content-type: text/plain; charset=us-ascii References: <237967ef0802290720y7b7d8e91n5df822fd989b69c@mail.gmail.com> Comments: In reply to "Mikael Magnusson" "hash completion oddity" (Feb 29, 4:20pm) X-Virus-Scanned: ClamAV 0.91.2/6045/Fri Feb 29 17:19:36 2008 on bifrost X-Virus-Status: Clean On Feb 29, 4:20pm, Mikael Magnusson wrote: } } hash -d foo=~jo } and expected it to complete to foo=~johndoe, but instead it just says } "unknown user jo". C-x h will show you that in that context it's expecting to complete files, only. The _hash function is calling _path_files at that point, which doesn't know how to populate an incomplete tilde-expansion. I don't have time at the moment to try to work out what to change to get it to call _tilde first. I may take another stab later but if someone else wants to jump in, please do.