summary refs log tree commit diff
path: root/Completion/Unix/Command/_vcsh
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2012-01-15 18:08:27 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2012-01-15 18:08:27 +0000
commit737a87654f6bb4f26890add0cb5b6aa7653244d5 (patch)
treec5929081736d8ed1c6e758e0b87d27c7cfd6817c /Completion/Unix/Command/_vcsh
parentcd40e8caf68ff9cba210bda282107adba5a98107 (diff)
downloadzsh-737a87654f6bb4f26890add0cb5b6aa7653244d5.tar.gz
zsh-737a87654f6bb4f26890add0cb5b6aa7653244d5.tar.xz
zsh-737a87654f6bb4f26890add0cb5b6aa7653244d5.zip
Richard Hartmann: 30110: new vcsh Completion
Diffstat (limited to 'Completion/Unix/Command/_vcsh')
-rw-r--r--Completion/Unix/Command/_vcsh18
1 files changed, 18 insertions, 0 deletions
diff --git a/Completion/Unix/Command/_vcsh b/Completion/Unix/Command/_vcsh
new file mode 100644
index 000000000..89588e4b2
--- /dev/null
+++ b/Completion/Unix/Command/_vcsh
@@ -0,0 +1,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"
+	))'