mirror of
https://github.com/zdharma-continuum/zinit-configs.git
synced 2025-01-31 04:08:16 +01:00
14 lines
281 B
Bash
14 lines
281 B
Bash
# DESC: Iterates over *.git directories, runs git "$@"
|
|
|
|
# Foreach *.git directory
|
|
local PAUSE=0 i
|
|
for i in *.git; do
|
|
builtin echo -e "\n$i\n"
|
|
LANG=C command sleep $PAUSE
|
|
builtin cd -q "$i"
|
|
command git "$@"
|
|
builtin cd -q ..
|
|
PAUSE="0.5"
|
|
done
|
|
|
|
# vim:ft=zsh:et
|