zsh-workers
 help / color / mirror / code / Atom feed
From: "Akinori MUSHA" <knu@iDaemons.org>
To: zsh-workers@sunsite.dk
Subject: _chflags
Date: Thu, 02 Aug 2001 03:39:41 +0900	[thread overview]
Message-ID: <864rrrvd3m.wl@archon.local.idaemons.org> (raw)

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


             reply	other threads:[~2001-08-01 18:39 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-08-01 18:39 Akinori MUSHA [this message]
2001-08-02 12:21 ` _chflags Oliver Kiddle
2001-08-02 13:25   ` _chflags Akinori MUSHA
2001-08-02 16:19     ` _chflags Oliver Kiddle
2001-08-02 17:40       ` _chflags Akinori MUSHA
2001-08-03 11:46         ` _chflags Oliver Kiddle
2001-08-03  8:25       ` _chflags Sven Wischnowsky
2001-08-06 11:36         ` grouping inverses and sorting in completion lists (was _chflags) Oliver Kiddle

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=864rrrvd3m.wl@archon.local.idaemons.org \
    --to=knu@idaemons.org \
    --cc=zsh-workers@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).