summaryrefslogtreecommitdiffstats
path: root/install.sh
diff options
context:
space:
mode:
authorTharre <tharre3@gmail.com>2015-04-06 16:41:29 +0200
committerTharre <tharre3@gmail.com>2016-10-07 19:42:55 +0000
commit6c9ecd4bc57a318f9b8663cb476efa2945de716b (patch)
tree8752a60bd59aff898868139a460678f09464dfd9 /install.sh
parentb76107ee2d8698671a6fa9d732ea86e32f371e2d (diff)
downloaddotfiles-6c9ecd4bc57a318f9b8663cb476efa2945de716b.tar.gz
dotfiles-6c9ecd4bc57a318f9b8663cb476efa2945de716b.tar.xz
dotfiles-6c9ecd4bc57a318f9b8663cb476efa2945de716b.zip
Initial commit, add everything else
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"