zsh-users
 help / color / mirror / code / Atom feed
From: davidk@lysator.liu.se (David Kågedal)
To: zsh-users@math.gatech.edu
Subject: Re: Clearcase completions
Date: 12 Sep 1999 19:51:05 +0200	[thread overview]
Message-ID: <jpk8pwyq5y.fsf@lanfear.lysator.liu.se> (raw)
In-Reply-To: Nosherwan Minwalla's message of "Sat, 11 Sep 1999 17:16:35 -0400 (EDT)"

Nosherwan Minwalla <nnminwal@CC.OWU.EDU> writes:

> 	Does anyone have a set of completions pre-written for the Rational
> Clearcase UNIX command line tool (cleartool)? If not, does anyone have
> similar completions for other versioning packages (RCS/CVS etc.) that I
> could base completions for this product on? I'm new to zsh-completions and
> greatly appreciate any help in this regard.

I did the simplest thing, and made it complete the clearcase
sub-commands.  Much more could be done, but this is still very
useful.

ctcommands=( help man apropos quit cd pwd shell mkview rmview lsview \
	     startview endview setview edcs catcs setcs pwv lsprivate \
	     recoverview reformatview getcache setcache checkvob mkvob \
	     rmvob lsvob reformatvob relocate mount umount space getlog \
	     lsclients hostinfo complete_migration protect protectvob lock \
	     unlocak lslock mkeltype mkbrtype mklbtype mkattype mkhltype \
	     mktrtype lstype rmtype chtype cptype mkpool lspool rmpool chpool \
	     lsreplica rename ln rmname move mkdir mkelem rmelem mkbranch \
	     rmbranch rmver checkout uncheckout checkin reserve unreserve \
	     lscheckout chevent mklabel rmlabel mkattr rmattr mkhlink rmhlink \
	     mktrigger rmtrigger diff merge rmmerge findmerge find ls \
	     describe lshistory lsvtree annotate lsdo rmdo catcr diffcr \
	     winkin mktag rmtag register unregister mkregion rmregion
	     lsregion )
compctl -k ctcommands -x 'p[2,-1]' -f -- cleartool

-- 
David Kågedal


  reply	other threads:[~1999-09-12 19:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-09-11 21:16 Nosherwan Minwalla
1999-09-12 17:51 ` David Kågedal [this message]
1999-09-13  6:51 ` Paul Lew

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=jpk8pwyq5y.fsf@lanfear.lysator.liu.se \
    --to=davidk@lysator.liu.se \
    --cc=zsh-users@math.gatech.edu \
    /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).