X-Git-Url: https://git.madduck.net/code/vcsh.git/blobdiff_plain/1a142e0ce3cfb86f61fb7f97291f29081c275f58..2cc7ffcd61352b55d7c010c7524a739b3fe13c80:/_vcsh diff --git a/_vcsh b/_vcsh index 53eaada..6562dc5 100644 --- a/_vcsh +++ b/_vcsh @@ -23,6 +23,10 @@ function _vcsh-enter () { (( CURRENT == 2 )) && __vcsh_repositories } +function _vcsh-foreach () { + _dispatch git git +} + function _vcsh-help () { _nothing } @@ -100,6 +104,7 @@ function _vcsh () { "commit:commit in all repositories" "delete:delete an existing repository" "enter:enter repository; spawn new <\$SHELL>" + "foreach:execute for all repos" "help:display help" "init:initialize an empty repository" "list:list all local vcsh repositories"