Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [PATCH] _fuser Solaris and SVR4 support
- X-seq: zsh-workers 21052
- From: Oliver Kiddle <okiddle@xxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: [PATCH] _fuser Solaris and SVR4 support
- Date: Tue, 22 Mar 2005 20:28:49 +0100
- In-reply-to: <200503222146.12289.arvidjaar@xxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <E1D9PCy-000Gis-00.arvidjaar-mail-ru@xxxxxxxxxx> <200503121046.54826.arvidjaar@xxxxxxxxxx> <9029.1111424918@xxxxxxxxxxxxxxxxxxxxxxx> <200503222146.12289.arvidjaar@xxxxxxxxxx>
Andrey wrote:
> well, except at it turned out it was impossible to complete file
> name as first argument; also fuser takes more than one file.
>
> Is the following the right way to do it?
Yes, that looks right.
Only thing is that the descriptions passed to _alternative should be
in the singular form - "signal" and "file" instead of "signals" and
"files". That's our convention: you're only completing one file (though
more than one may match and the next argument may also be a file). The
"name" description for the final files should probably also be "file".
I'm not posting another patch for that though. I suggest you just commit
it.
Oliver
Messages sorted by:
Reverse Date,
Date,
Thread,
Author