From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12521 invoked from network); 1 Aug 2001 18:39:59 -0000 Received: from sunsite.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 1 Aug 2001 18:39:59 -0000 Received: (qmail 18131 invoked by alias); 1 Aug 2001 18:39:49 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 15559 Received: (qmail 18111 invoked from network); 1 Aug 2001 18:39:47 -0000 Date: Thu, 02 Aug 2001 03:39:41 +0900 Message-ID: <864rrrvd3m.wl@archon.local.idaemons.org> From: "Akinori MUSHA" To: zsh-workers@sunsite.dk Subject: _chflags User-Agent: Wanderlust/2.7.1 (Too Funky) SEMI/1.14.3 (Ushinoya) FLIM/1.14.3 (=?ISO-8859-1?Q?Unebigory=F2mae?=) APEL/10.3 MULE XEmacs/21.1 (patch 14) (Cuyahoga Valley) (i386--freebsd) Organization: Associated I. Daemons X-PGP-Public-Key: finger knu@FreeBSD.org X-PGP-Fingerprint: 081D 099C 1705 861D 4B70 B04A 920B EFC7 9FD9 E1EE MIME-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII Hi, Attached is the compdef for *BSD's chflags(1) command, which changes special file flags. Please add it if it's okay. The manpage is available via the web, by the following URL: http://www.FreeBSD.org/cgi/man.cgi?query=chflags&apropos=0&sektion=1&manpath=FreeBSD+4.3-RELEASE&format=html I didn't add rules for the options becase I couldn't be sure if it's worth supporting. -- / /__ __ Akinori.org / MUSHA.org / ) ) ) ) / FreeBSD.org / Ruby-lang.org Akinori MUSHA aka / (_ / ( (__( @ iDaemons.org / and.or.jp "Freeze this moment a little bit longer, make each impression a little bit stronger.. Experience slips away -- Time stand still" #compdef chflags if [[ CURRENT -eq 2 || CURRENT -eq 3 && $words[CURRENT-1] = -* ]]; then local flags case $OSTYPE in freebsd*) flags=(arch opaque nodump sappnd schg sunlnk uappnd uchg uunlnk) compadd $flags ${flags/#/no} ;; netbsd*|openbsd*) flags=(arch opaque nodump sappnd schg uappnd uchg) compadd $flags ${flags/#/no} ;; esac else _files fi