summaryrefslogtreecommitdiffstats
path: root/install.sh
blob: 1a84e6993ad2a6e1203050a1f47b8735e0409b68 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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"