X-Git-Url: https://git.madduck.net/code/vcsh.git/blobdiff_plain/29b6c287d196c01091d6fbadf511aa387d74e2a2..3e6f33668ac3507812168b6118bcb05bee572c8c:/_vcsh diff --git a/_vcsh b/_vcsh index 73a04a5..3022c61 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 } @@ -96,6 +100,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"