X-Git-Url: https://git.madduck.net/code/vcsh.git/blobdiff_plain/bb6411ce8f1774ac4200c772b59feb64584baa4f..refs/heads/shell-improvements:/_vcsh diff --git a/_vcsh b/_vcsh index 4fe1e5f..89588e4 100644 --- a/_vcsh +++ b/_vcsh @@ -1,12 +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" + setup\:"set up repo with recommended settings" + write-gitignore\:"write .gitignore.d/foo via git ls-files" + \\:"Run git command directly" ))'