From f7f01cbf7bd41f7bfe35bc40c244fe16aa8bfe24 Mon Sep 17 00:00:00 2001 From: Barak Michener Date: Tue, 21 Jan 2014 15:03:58 -0500 Subject: [PATCH] fix --- .setup_new_env.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.setup_new_env.sh b/.setup_new_env.sh index 1ce4ac8..e48f820 100755 --- a/.setup_new_env.sh +++ b/.setup_new_env.sh @@ -1,15 +1,13 @@ #!/bin/bash -set -e - function main { mv -f .* $HOME mv -f bin $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 main; fi