adding env update script to make life easier

This commit is contained in:
staticsafe 2012-01-14 12:30:58 -05:00
parent 6726558481
commit 837c8e4ae4
1 changed files with 23 additions and 0 deletions

23
envupdate.sh Normal file
View File

@ -0,0 +1,23 @@
#!/bin/bash
# Small script to update my env. Too lazy to write this into my python setup script
# A die function as always
die() {
printf '%s\n' "$@" >&2
exit 1
}
cd
# Update all the conf files here
printf '%s\n' "Updating dotfiles now!"
wget --no-check-certificate -O .zshrc https://raw.github.com/staticsafe/dotfiles/master/.zshrc
wget --no-check-certificate -O .vimrc https://raw.github.com/staticsafe/dotfiles/master/.vimrc
wget --no-check-certificate -O .tmux.conf https://raw.github.com/staticsafe/dotfiles/master/.tmux.conf
# vim dir
rm -r ~/.vim
wget -O vimdir.tar.bz2 http://dl.dropbox.com/u/2888062/vimdir.tar.bz2
tar xjvf vimdir.tar.bz2