From 837c8e4ae46a40e20cae150f2937acc05a7d0d48 Mon Sep 17 00:00:00 2001 From: staticsafe Date: Sat, 14 Jan 2012 12:30:58 -0500 Subject: [PATCH] adding env update script to make life easier --- envupdate.sh | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 envupdate.sh diff --git a/envupdate.sh b/envupdate.sh new file mode 100644 index 0000000..92069b0 --- /dev/null +++ b/envupdate.sh @@ -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 \ No newline at end of file