This commit is contained in:
Barak Michener 2014-01-21 15:03:58 -05:00
parent 82b19bc718
commit f7f01cbf7b

View file

@ -1,15 +1,13 @@
#!/bin/bash #!/bin/bash
set -e
function main { function main {
mv -f .* $HOME mv -f .* $HOME
mv -f bin $HOME mv -f bin $HOME
cd $HOME cd $HOME
git update --init --recursive git submodule update --init --recursive
} }
read -p "This will overwrite files in $HOME. Type 'yes' to confirm." confirm read -p "This will overwrite files in $HOME. Type 'yes' to confirm: " confirm
if [ "$confirm" == "yes" ]; then if [ "$confirm" == "yes" ]; then
main; main;
fi fi