Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Exclude non-executables from command completion



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