Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: _chflags
- X-seq: zsh-workers 15566
- From: Oliver Kiddle <okiddle@xxxxxxxxxxx>
- To: Akinori MUSHA <knu@xxxxxxxxxxxx>
- Subject: Re: _chflags
- Date: Fri, 03 Aug 2001 12:46:22 +0100
- Cc: zsh-workers@xxxxxxxxxx
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <864rrrvd3m.wl@xxxxxxxxxxxxxxxxxxxxxxxxx> <3B6945AD.AFDEA069@xxxxxxxxxxx> <86snfak2zm.wl@xxxxxxxxxxxxxxxxxxxxxxxxx> <3B697DA9.3443713E@xxxxxxxxxxx> <8666c6l5qu.wl@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Sender: kiddleo@xxxxxxxxxxxxxxxx
Akinori MUSHA wrote:
>
> But how do you handle the case where one uses something like sudo? Do
> you have a plan to make sudo's compdef smart enough to fake EUID?
I never thought of that really because I've never use sudo. It could be done with some sort of argument or variable passed down by _sudo and checked for in any completion it would affect, such as _chown and _chflags.
> OK, aside from the EUID part, I suggest changing this part:
I'm not too sure about that. Presumably -R can be preceded by the other options? In other cases where a certain option is only valid when combined with another, we haven't done anything special like this. If we should then it is a wider issue.
Oliver
_____________________________________________________________________
This message has been checked for all known viruses by the
MessageLabs Virus Scanning Service. For further information visit
http://www.messagelabs.com/stats.asp
Messages sorted by:
Reverse Date,
Date,
Thread,
Author