From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26048 invoked by alias); 5 Mar 2011 22:16:15 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 28864 Received: (qmail 1767 invoked from network); 5 Mar 2011 22:16:13 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received-SPF: none (ns1.primenet.com.au: domain at spodhuis.org does not designate permitted sender hosts) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=spodhuis.org; s=d200912; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date; bh=nIynBuoni8XnrPmu3wHddXrWVkr0bvGvKkkP2vzW4qU=; b=mqlJZzC34eTTedEZQ8KDB8VlOBstac0TuvRbYGeXJkb47P88yoE2jD+cdO8/X/tjV3TftZyCx4b91AQw8fcrlY6NLZ1Z8b0itHp/LZpEmYbWa7jtKS3jHI67WNIKsO5DspvVlPTcKartpvUlkKWl2W/vj1Rrl+WfyNxOkXd5i74=; Date: Sat, 5 Mar 2011 17:16:07 -0500 From: Phil Pennock To: Bart Schaefer Cc: zsh-workers@zsh.org Subject: Re: zcompile dir oddity with unmatched ` Message-ID: <20110305221607.GA40491@redoubt.spodhuis.org> Mail-Followup-To: Bart Schaefer , zsh-workers@zsh.org References: <20110305003734.GA26518@redoubt.spodhuis.org> <110305005435.ZM14083@torch.brasslantern.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <110305005435.ZM14083@torch.brasslantern.com> On 2011-03-05 at 00:54 -0800, Bart Schaefer wrote: > On Mar 4, 7:37pm, Phil Pennock wrote: > } > } % cd ~/bin > } % mkdir N > } % zcompile N > > Hang on a minute. The zcompile builtin doesn't accept directory names > as arguments: Okay, this would be the problem. I mis-read the man-page back when I set this up, I'm using BSD where a directory can be opened as a file for reading and since it normally doesn't error, I never noticed or revisited my understanding. I'll nuke the bad logic in my start-up files. Thanks. (is still tangentially a -workers issue; zcompile could do with an extra stat check) -Phil