X-Git-Url: https://git.madduck.net/code/vcsh.git/blobdiff_plain/2a61549feb63117b5ffaa6fef5f80feb293b3dbe..c1ec3331f1246f76261c9d41ee2a23b7557c83da:/_vcsh?ds=sidebyside diff --git a/_vcsh b/_vcsh index 5a14f64..f5ab347 100644 --- a/_vcsh +++ b/_vcsh @@ -1,13 +1,18 @@ #compdef vcsh -# use\:"use/enter repo" -# exit\:"exit repo" _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" - init\:"init & clone from repo" - clone\:"clone from repo" seed-gitignore\:"seed .gitignore.d/foo from git ls-files" + setup\:"set up repo with recommended settings" + \\:"Run git command directly" ))'