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

Re: PATCH: RE: Trivial patches for FreeBSD



On Sep 7, 10:38am, Sven Wischnowsky wrote:
} 
} Andrej Borsenkow wrote:
} 
} > compadd "$@" - /boot/kernel/*.ko(N:t) /modules/*.ko(N:t) && ret=0
} 
} That sounds reasonable. I've changed in some other places, too (anyone 
} who uses _mailboxes please check my work there).

Looks OK, but:

Is there EVER a case where we want the completion system to fail with a
"no match" error, or to return a glob pattern instead of an actual file
name?

Maybe _main_complete should setopt nullglob nocshnullglob and have done
with it.

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com

Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net   



Messages sorted by: Reverse Date, Date, Thread, Author