14 lines
158 B
Bash
14 lines
158 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
echo "Updating .dotfiles"
|
||
|
git pull
|
||
|
|
||
|
for dir in */.git
|
||
|
do
|
||
|
dir=$(sed s/\.git// <<< "$dir")
|
||
|
echo "Updating $dir"
|
||
|
cd "$dir"
|
||
|
git pull
|
||
|
cd ..
|
||
|
done
|