summaryrefslogtreecommitdiffstats
path: root/install.sh
diff options
context:
space:
mode:
Diffstat (limited to 'install.sh')
-rwxr-xr-xinstall.sh24
1 files changed, 24 insertions, 0 deletions
diff --git a/install.sh b/install.sh
new file mode 100755
index 0000000..1a84e69
--- /dev/null
+++ b/install.sh
@@ -0,0 +1,24 @@
+#!/bin/sh
+
+root=$(pwd)
+
+# make sure all submodules are there
+git submodule update --init
+
+# [zsh]
+ln -sf $root/shell/_zshrc $HOME/.zshrc
+ln -sfT $root/shell/_oh-my-zsh $HOME/.oh-my-zsh
+
+# [emacs]
+ln -sfT $root/dotEmacs $HOME/.emacs.d
+
+# [vim]
+ln -sf $root/shell/_vimrc $HOME/.vimrc
+
+# [git]
+ln -sf $root/shell/_gitconfig $HOME/.gitconfig
+
+# [tmux]
+ln -sf $root/shell/_tmux.conf $HOME/.tmux.conf
+
+echo "Finished installing dotfiles"