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