summaryrefslogtreecommitdiffstats
path: root/install.sh
blob: 2636c86013bd925b93ff2a995d999f9850465932 (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"