Add simple update script

This commit is contained in:
Adam Goldsmith 2015-10-01 16:52:15 -04:00
parent 80a1267cca
commit 967325d5de

13
update.sh Executable file
View File

@ -0,0 +1,13 @@
#!/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