Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 20 lines (15 sloc) 431 Bytes
#!/bin/bash
cd "$(dirname "$0")"
git pull
function doIt() {
rsync --exclude ".git/" --exclude "extra/" --exclude ".DS_Store" --exclude "bootstrap" --exclude "README.md" -av . ~
cd ~/.vim && rake
}
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) " reply
[[ $reply =~ ^[Yy]$ ]] && doIt
fi
unset doIt
source ~/.bash_profile