]> git.madduck.net Git - code/vcsh.git/blobdiff - _vcsh

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

Improve basename()
[code/vcsh.git] / _vcsh
diff --git a/_vcsh b/_vcsh
index 6a21605f740afff657ced9a960374fd41c3bbe0d..89588e4b23c5dc389f94dd827ab80cebbd781551 100644 (file)
--- a/_vcsh
+++ b/_vcsh
@@ -2,11 +2,17 @@
 
 _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"
-               use\:"use/enter repo"
+               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"
-               exit\:"exit repo"
+               setup\:"set up repo with recommended settings"
+               write-gitignore\:"write .gitignore.d/foo via git ls-files"
+               \<REPO\>\:"Run git command directly"
        ))'