From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16056 invoked from network); 3 Aug 2001 15:56:00 -0000 Received: from sunsite.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 3 Aug 2001 15:56:00 -0000 Received: (qmail 2105 invoked by alias); 3 Aug 2001 15:55:33 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 15566 Received: (qmail 2072 invoked from network); 3 Aug 2001 15:55:25 -0000 X-VirusChecked: Checked Sender: kiddleo@cav.logica.co.uk Message-ID: <3B6A8F0E.1BC96275@yahoo.co.uk> Date: Fri, 03 Aug 2001 12:46:22 +0100 From: Oliver Kiddle X-Mailer: Mozilla 4.76 [en] (X11; U; SunOS 5.7 sun4u) X-Accept-Language: en MIME-Version: 1.0 To: Akinori MUSHA CC: zsh-workers@sunsite.dk Subject: Re: _chflags References: <864rrrvd3m.wl@archon.local.idaemons.org> <3B6945AD.AFDEA069@yahoo.co.uk> <86snfak2zm.wl@archon.local.idaemons.org> <3B697DA9.3443713E@yahoo.co.uk> <8666c6l5qu.wl@archon.local.idaemons.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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