]> 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:

Add more error handling
[code/vcsh.git] / _vcsh
diff --git a/_vcsh b/_vcsh
index 07376d2079f2c3e94339cefba2a49ebf2a3b4ba1..c6efe6fdc4b41fd25ce4feb8a678297f4f329149 100644 (file)
--- a/_vcsh
+++ b/_vcsh
@@ -6,11 +6,11 @@ _arguments \
                help\:"display help"
                delete\:"delete repo"
                enter\:"Enter repo; spawn new \$SHELL"
                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"
                init\:"init & clone from repo"
                list\:"list all repos"
+               rename\:"rename repo"
                run\:"run command on repo"
                seed-gitignore\:"seed .gitignore.d/foo from git ls-files"
                run\:"run command on repo"
                seed-gitignore\:"seed .gitignore.d/foo from git ls-files"
-               use\:"Use repo; set ENV"
+               setup\:"set up repo with recommended settings"
                \<REPO\>\:"Run git command directly"
        ))'
                \<REPO\>\:"Run git command directly"
        ))'