X-Git-Url: https://git.madduck.net/code/vcsh.git/blobdiff_plain/bb6411ce8f1774ac4200c772b59feb64584baa4f..ccb770603b504ce05c8abc0282b4b3caed70fe8f:/_vcsh diff --git a/_vcsh b/_vcsh index 4fe1e5f..07376d2 100644 --- a/_vcsh +++ b/_vcsh @@ -1,12 +1,16 @@ #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" + exit\:"Exit repo; unset ENV" + init\:"init & clone from repo" list\:"list all repos" run\:"run command on repo" - init\:"init & clone from repo" - clone\:"clone from repo" + seed-gitignore\:"seed .gitignore.d/foo from git ls-files" + use\:"Use repo; set ENV" + \\:"Run git command directly" ))'