aboutsummaryrefslogtreecommitdiff
path: root/install.sh
diff options
context:
space:
mode:
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
+