mirror of
https://github.com/notwa/rc
synced 2024-07-02 19:57:12 -07:00
9 lines
142 B
Plaintext
9 lines
142 B
Plaintext
|
#!/bin/zsh
|
||
|
find ~ -name .git -type d \
|
||
|
| grep -v '/src/\|/work/' \
|
||
|
| while read -r fp; do
|
||
|
cd "${fp%/.git}"
|
||
|
pwd
|
||
|
confirm && git pull
|
||
|
done
|