#!/bin/sh # # WARNING! Running this script will overwrite most of your dotfiles (.bashrc, # .vimrc, .vim/, etc.)! This script updates dotfiles from a remote web server. # Put settings that you do not want overwritten in a file called: # # ~/.bashrc_local # # Your .bashrc_local will be sourced at the end of the .bashrc script. # # I am Locutus of Borg. Resistance is futile. # Your life, as it has been, is over. # From this time forward, you will service us. # # $Id: .dotfiles 200 2008-02-07 13:40:00Z root $ # This is to handle old versions of wget. wget --cache=off --version >/dev/null 2>&1 case $? in 0) WGET="wget -q -nv -N --cache=off";; # older *) WGET="wget -q -nv -N --no-cache";; # newer esac rm -f dotfiles.tar.gz $WGET http://www.noah.org/engineering/dotfiles/dotfiles.tar.gz gunzip -c dotfiles.tar.gz | tar --no-same-owner -x chmod 755 .dotfiles_install ./.dotfiles_install rm -f dotfiles.tar.gz