From 737a87654f6bb4f26890add0cb5b6aa7653244d5 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Sun, 15 Jan 2012 18:08:27 +0000 Subject: Richard Hartmann: 30110: new vcsh Completion --- Completion/Unix/Command/.distfiles | 1 + Completion/Unix/Command/_vcsh | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 Completion/Unix/Command/_vcsh (limited to 'Completion') diff --git a/Completion/Unix/Command/.distfiles b/Completion/Unix/Command/.distfiles index a89b7d923..efc02e87e 100644 --- a/Completion/Unix/Command/.distfiles +++ b/Completion/Unix/Command/.distfiles @@ -239,6 +239,7 @@ _unison _units _user_admin _uzbl +_vcsh _vim _vorbis _vorbiscomment 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" + \\:"Run git command directly" + ))' -- cgit 1.4.1