summary refs log tree commit diff
path: root/Completion/Unix/Command/_vcsh
blob: 89588e4b23c5dc389f94dd827ab80cebbd781551 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#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"
	))'