From 0fe1874a6db174ff429cceb610fcc969e392d5c4 Mon Sep 17 00:00:00 2001 From: Abhay Rana Date: Sun, 8 Jun 2014 15:02:04 +0530 Subject: [PATCH] Using GNU Stow now. Its awesome :boom: --- bootstrap.sh | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/bootstrap.sh b/bootstrap.sh index 21cc387..d813da9 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -1,16 +1,3 @@ #!/bin/bash -cd "$(dirname "$0")" -function doIt() { -rsync --exclude ".git/" --exclude ".DS_Store" --exclude "bootstrap.sh" --exclude "README.md" -av . ~ -} -if [ "$1" == "--force" -o "$1" == "-f" ]; then -doIt -else - read -p "This may overwrite existing files in your home directory. Are you sure? (y/n) " -n 1 - echo - if [[ $REPLY =~ ^[Yy]$ ]]; then - doIt -fi -fi -unset doIt -source ~/.bashrc +cd files +stow * --target ~ \ No newline at end of file