Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Exclude non-executables from command completion
- X-seq: zsh-users 14452
- From: Eike von Seggern <jan.eike.von.seggern@xxxxxxxxxxxxxxxxxxx>
- To: Peter Stephenson <pws@xxxxxxx>
- Subject: Re: Exclude non-executables from command completion
- Date: Fri, 2 Oct 2009 12:59:59 +0200
- Cc: zsh-users@xxxxxxxxxx
- In-reply-to: <200910021004.n92A4qDt006996@xxxxxxxxxxxxxx>
- Mail-followup-to: Peter Stephenson <pws@xxxxxxx>, zsh-users@xxxxxxxxxx
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20090917160826.GA16143@joutsen> <20090918112708.7529490c@news01> <20091002091337.GA13986@xxxxxxxxxxx> <200910021004.n92A4qDt006996@xxxxxxxxxxxxxx>
On Fri, Oct 02, 2009 at 11:04 +0100, Peter Stephenson wrote:
> Eike von Seggern wrote:
> > I've had a look in the current HEAD version of hashtable.c, though I
> > have not compiled and tried it hands-on. But if I'm right, only
> > regular&&executable files are added to the hashtable.
>
> I think we're OK: we test using the information returned by stat whether
> the file is regular and executable, but the information was retrieved
> using the stat() call (not lstat()), so any symbolic links will have
> been dereferenced (unless they're broken, of course). Tests seem to
> confirm this is working.
Cool! And thanks a lot for all your effort!
Best
eike
Messages sorted by:
Reverse Date,
Date,
Thread,
Author