X-Git-Url: https://git.madduck.net/code/vcsh.git/blobdiff_plain/9fe9f7d5a182830bf4c71e2c1143cbba9ff12488..2790f1bfca0ab2dc74b23c5dd8f132d7b01c7415:/_vcsh diff --git a/_vcsh b/_vcsh index 477b2b1..89588e4 100644 --- a/_vcsh +++ b/_vcsh @@ -1,14 +1,18 @@ #compdef vcsh -# use\:"use/enter repo" -# exit\:"exit repo" _arguments \ ':subcommand:(( clone\:"clone from repo" help\:"display help" - init\:"init & clone from repo" 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" - seed-gitignore\:"seed .gitignore.d/foo from git ls-files" + setup\:"set up repo with recommended settings" + write-gitignore\:"write .gitignore.d/foo via git ls-files" + \\:"Run git command directly" ))'