bootstrap/update.sh

14 lines
158 B
Bash
Executable File

#!/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