From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4197 invoked from network); 30 Oct 2008 21:21:27 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) 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.5 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 30 Oct 2008 21:21:27 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 18816 invoked from network); 30 Oct 2008 21:21:18 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 30 Oct 2008 21:21:18 -0000 Received: (qmail 23210 invoked by alias); 30 Oct 2008 21:21:13 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 25973 Received: (qmail 23193 invoked from network); 30 Oct 2008 21:21:11 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 30 Oct 2008 21:21:11 -0000 Received: from n26.bullet.mail.ukl.yahoo.com (n26.bullet.mail.ukl.yahoo.com [87.248.110.143]) by bifrost.dotsrc.org (Postfix) with SMTP id CC0CD80524C0 for ; Thu, 30 Oct 2008 22:20:56 +0100 (CET) Received: from [217.12.4.214] by n26.bullet.mail.ukl.yahoo.com with NNFMP; 30 Oct 2008 21:20:56 -0000 Received: from [87.248.110.118] by t1.bullet.ukl.yahoo.com with NNFMP; 30 Oct 2008 21:20:56 -0000 Received: from [127.0.0.1] by omp223.mail.ukl.yahoo.com with NNFMP; 30 Oct 2008 21:20:56 -0000 X-Yahoo-Newman-Id: 472591.49112.bm@omp223.mail.ukl.yahoo.com Received: (qmail 12670 invoked from network); 30 Oct 2008 21:20:56 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.co.uk; h=Received:X-YMail-OSG:X-Yahoo-Newman-Property:Received:From:To:Subject:Date:Message-ID; b=TsfAK/pKQEvzoAKLvgvhdHE/hMqbHnhYgbc5KQr3L2hzc1U+B8yL+PICrKQW96bjGoR2NMiRNwd1cPSDbyaBGWt/qgNIR67QfIiF+kuJVbBtLCqAADQ7tDC8OCJtJxLkGHd1KEioi+LjfAjXH9cEskfUKi4vlBFwqhs1zO9u6oI= ; Received: from unknown (HELO thecus) (okiddle@89.60.226.101 with plain) by smtp128.mail.ukl.yahoo.com with SMTP; 30 Oct 2008 21:20:56 -0000 X-YMail-OSG: T6ZAWooVM1lNaOu8Crsj1F1BCl02kUxmDTQVvppbUjARz8buyfroyQgiSmRGTRAMc4mWB_f_2akz5pW3pYFu69Sf8zcxu1EYhLOrPDZQeMJ7r.2qoJZrr2pGn8VoRZeOW1foxCBc2fZR3jEIct_24rv44sJTFI8d.G8eN0I- X-Yahoo-Newman-Property: ymail-3 Received: from localhost ([127.0.0.1] helo=thecus) by thecus with esmtp (Exim 4.63) (envelope-from ) id 1Kvewo-0005Hp-Vm for zsh-workers@sunsite.dk; Thu, 30 Oct 2008 22:20:54 +0100 From: Oliver Kiddle To: Zsh workers Subject: another bug: zsh_directory_name Date: Thu, 30 Oct 2008 22:20:54 +0100 Message-ID: <20324.1225401654@thecus> X-Virus-Scanned: ClamAV 0.92.1/8544/Thu Oct 30 19:59:19 2008 on bifrost X-Virus-Status: Clean Just thought I'd check that the case of calling this new ~[...] stuff recursively had been handled. The following caused an instant seg fault: zsh_directory_name() { echo ~[] } Out of interest what are people using this for. It seems like a nice idea, but I've yet to think of an actual use that can't be done with a normal named directory. Transformations on the current $PWD seem to be one logical option - ${PWD/src/include} for instance. Or an easier syntax for (../)# Oliver