aboutsummaryrefslogtreecommitdiff
path: root/install.sh
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2012-02-21 11:35:45 +1300
committerTom Ryder <tom@sanctum.geek.nz>2012-02-21 11:35:45 +1300
commit6c33d7e66d3110cc59f0dc22638763f894f9c364 (patch)
tree3dd66be14086b8ee41b0bcc9c903c1850c666c9f /install.sh
parentvi-ish copy paste (diff)
downloaddotfiles-6c33d7e66d3110cc59f0dc22638763f894f9c364.tar.gz
dotfiles-6c33d7e66d3110cc59f0dc22638763f894f9c364.zip
Added bash files, wrote installation script.
Diffstat (limited to 'install.sh')
-rw-r--r--install.sh19
1 files changed, 19 insertions, 0 deletions
diff --git a/install.sh b/install.sh
new file mode 100644
index 00000000..72edeef9
--- /dev/null
+++ b/install.sh
@@ -0,0 +1,19 @@
+#!/bin/bash
+cd $HOME/.dotfiles
+git submodule update --init
+cd $HOME
+rm -f .bashrc
+rm -f .bash_profile .bash_login .profile
+rm -f .gitconfig
+rm -f .tmux.conf
+rm -f .vimrc
+rm -f .gvimrc
+rm -fr .vim
+ln -s .dotfiles/bash/bashrc .bashrc
+ln -s .dotfiles/bash/bash_profile .bash_profile
+ln -s .dotfiles/git/gitconfig .gitconfig
+ln -s .dotfiles/tmux/tmux.conf .tmux.conf
+ln -s .dotfiles/vim/vimrc .vimrc
+ln -s .dotfiles/vim/gvimrc .gvimrc
+ln -s .dotfiles/vim .vim
+