aboutsummaryrefslogtreecommitdiffstats
path: root/bootstrap.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bootstrap.sh')
-rwxr-xr-xbootstrap.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/bootstrap.sh b/bootstrap.sh
index 1b810d6..fabc394 100755
--- a/bootstrap.sh
+++ b/bootstrap.sh
@@ -1 +1,6 @@
-git pull && rsync --exclude ".git/" --exclude ".DS_Store" --exclude "bootstrap.sh" --exclude "README.md" -av . ~ \ No newline at end of file
+git pull
+read -p "This may overwrite existing files in your home directory. Are you sure? (y/n) " -n 1
+if [[ $REPLY =~ ^[Yy]$ ]]; then
+ rsync --exclude ".git/" --exclude ".DS_Store" --exclude "bootstrap.sh" --exclude "README.md" -av . ~
+fi
+echo \ No newline at end of file