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

Re: _find completion



On 21 Aug, Roman Neuhauser wrote:
> 
> do any completion functions have platform-specific behavior? which ones?

I don't know of any that are particularly specific to one platform. There's
quite a few where we run the command with --version or --help to
see if they are the GNU version or not and this is even generalised into
_pick_variant in zsh 4.1. In some like _finger, the output of finger -\?
is parsed to determine which options are available and in others like
_mount, we use a case statement depending on "$OSTYPE".

> (i'd like to take a look so that i can patch _find reasonably)

_find could certainly be improved in that area. At the moment I think it
just completes a set of fairly common options.

Oliver

This e-mail and any attachment is for authorised use by the intended recipient(s) only.  It may contain proprietary material, confidential information and/or be subject to legal privilege.  It should not be copied, disclosed to, retained or used by, any other party.  If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender.  Thank you.



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