From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17549 invoked from network); 2 Aug 2001 13:31:58 -0000 Received: from sunsite.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 2 Aug 2001 13:31:58 -0000 Received: (qmail 15734 invoked by alias); 2 Aug 2001 13:31:48 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 15561 Received: (qmail 15720 invoked from network); 2 Aug 2001 13:31:47 -0000 X-VirusChecked: Checked Sender: kiddleo@cav.logica.co.uk Message-ID: <3B6945AD.AFDEA069@yahoo.co.uk> Date: Thu, 02 Aug 2001 13:21:01 +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> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Akinori MUSHA wrote: > Attached is the compdef for *BSD's chflags(1) command, which changes > special file flags. Please add it if it's okay. I'll add that (and the _sysctl change). Is the nodump flag defintely turned off with nonodump then (as opposed to just dump)? According to the man page you referenced, the flags are specified as a comma separated list so I would suggest you replace the flags= and compadd lines with something like: _values -s , 'file flag' {no,}{arch,opaque,nodump,sappnd,schg,sunlnk,uappnd,uchg,uunlnk} but if descriptions for the flags might be useful, you could use things like: '(noarch)arch[set archived]' to _values. It would be nice to use _arguments for the options. Are the options different on net/openbsd or different versions of FreeBSD? Do they all use the comma separated list of flags? 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