zsh-workers
 help / color / mirror / code / Atom feed
* Completion for vcsh
@ 2012-01-13 23:18 Richard Hartmann
  0 siblings, 0 replies; only message in thread
From: Richard Hartmann @ 2012-01-13 23:18 UTC (permalink / raw)
  To: zsh workers

[-- Attachment #1: Type: text/plain, Size: 300 bytes --]

Hi all,

This a completion file for vcsh[1]. It's probably best suited for the
unix completion directory.

I have a few branches that may or may not result in better completion,
but I decided to submit this, for now. It's working so better than
nothing.


Richard

[1] https://github.com/RichiH/vcsh

[-- Attachment #2: _vcsh --]
[-- Type: application/octet-stream, Size: 524 bytes --]

#compdef vcsh

_arguments \
	':subcommand:((
		clone\:"clone from repo"
		help\:"display help"
		delete\:"delete repo"
		enter\:"Enter repo; spawn new \$SHELL"
		init\:"init & clone from repo"
		list\:"list all repos"
		list-tracked\:"list all files tracked by vcsh"
		list-tracked-by\:"list files tracked by a repo"
		rename\:"rename repo"
		run\:"run command on repo"
		setup\:"set up repo with recommended settings"
		write-gitignore\:"write .gitignore.d/foo via git ls-files"
		\<REPO\>\:"Run git command directly"
	))'

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-01-13 23:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-13 23:18 Completion for vcsh Richard Hartmann

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).