Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: zcompile dir oddity with unmatched `
- X-seq: zsh-workers 28864
- From: Phil Pennock <zsh-workers+phil.pennock@xxxxxxxxxxxx>
- To: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- Subject: Re: zcompile dir oddity with unmatched `
- Date: Sat, 5 Mar 2011 17:16:07 -0500
- Cc: zsh-workers@xxxxxxx
- 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=;
- In-reply-to: <110305005435.ZM14083@torch.brasslantern.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mail-followup-to: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>, zsh-workers@xxxxxxx
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <20110305003734.GA26518@redoubt.spodhuis.org> <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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author