Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: _xt_arguments and new _nedit
- X-seq: zsh-workers 10167
- From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxxxxxxxxx>
- To: Oliver Kiddle <opk@xxxxxxxxxxxxx>, Zsh workers <zsh-workers@xxxxxxxxxxxxxx>
- Subject: Re: PATCH: _xt_arguments and new _nedit
- Date: Sat, 18 Mar 2000 19:19:36 +0000
- In-reply-to: <38D3CFDB.6DD75999@xxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
- References: <38D3CFDB.6DD75999@xxxxxxxxxxxxx>
On Mar 18, 6:50pm, Oliver Kiddle wrote:
} Subject: PATCH: _xt_arguments and new _nedit
}
} It would be nice if there was a way of using globbing, similar to *(w)
} and *(r) to match files which can be written to by the current process
This should work: _files -g '*(Uw,GI,W)'
That means "owned by the EUID and owner writable, or owned by the EGID
and group writable, or world writable." That doesn't quite work with
group lists; for that you'd need something like
_files -g \*\(Uw,Ig:${(j(:,Ig:))$(groups)}:,W\)
--
Bart Schaefer Brass Lantern Enterprises
http://www.well.com/user/barts http://www.brasslantern.com
Messages sorted by:
Reverse Date,
Date,
Thread,
Author