From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13663 invoked by alias); 1 Oct 2014 17:30:11 -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: 19194 Received: (qmail 27366 invoked from network); 1 Oct 2014 17:30:08 -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=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 X-Authority-Analysis: v=2.1 cv=AduIQRnG c=1 sm=1 tr=0 a=U8jGx9LZ01s9vcQeWkLgMw==:117 a=U8jGx9LZ01s9vcQeWkLgMw==:17 a=sicYhokT53YA:10 a=IkcTkHD0fZMA:10 a=mJ7zE8BLAAAA:8 a=TYK9FURpqWPOa1Dj3hkA:9 a=QEXdDO2ut3YA:10 a=lVMSFBqSB44A:10 Message-id: <542C3370.8050709@eastlink.ca> Date: Wed, 01 Oct 2014 10:01:36 -0700 From: Ray Andrews User-Agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Icedove/31.0 MIME-version: 1.0 To: zsh-users@zsh.org Subject: Re: Empty directories References: <20141001120022.72b2bf53@pwslap01u.europe.root.pri> <20141001142506.52d75405@pwslap01u.europe.root.pri> In-reply-to: Content-type: text/plain; charset=utf-8; format=flowed Content-transfer-encoding: 7bit On 10/01/2014 07:47 AM, Yuri D'Elia wrote: > On 10/01/2014 03:25 PM, Peter Stephenson wrote: >> aren't which would need to be grouped differently. There are already >> way too many cases no one really understands in _path_files, so this > This made me smile ;) > > I tried to look into _path_files, and there's actually a special rule to > handle empty directories, though I got lost in the expansion loop. Yeah! Laugh now ;-) I hope we're doing better than bash: http://blog.erratasec.com/2014/09/the-shockingly-bad-code-of-bash.html