X-Git-Url: https://git.madduck.net/code/vcsh.git/blobdiff_plain/29b6c287d196c01091d6fbadf511aa387d74e2a2..e7699ab3d2006ca25b16c664cc7df37935a33a2b:/_vcsh?ds=inline 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"