1
0
Fork 0
mirror of https://github.com/zdharma-continuum/zinit-configs.git synced 2025-01-31 04:08:16 +01:00
zinit-configs/psprint/functions/g1all
2019-06-27 12:47:09 +02:00

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