summaryrefslogtreecommitdiffstats
path: root/install.sh
blob: 78945ed924fc63f0c745fc341f262990dda95360 (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
25
26
27
28
29
30
#!/bin/sh

dotfiles=$(pwd)

# make sure all submodules are there
git submodule update --init

# [zsh]
ln -sf "$dotfiles/shell/_zshrc" "$HOME/.zshrc"
ln -sfT "$dotfiles/shell/_oh-my-zsh" "$HOME/.oh-my-zsh"

# [emacs]
ln -sfT "$dotfiles/dotEmacs" "$HOME/.emacs.d"

# [vim]
ln -sf "$dotfiles/shell/_vimrc" "$HOME/.vimrc"

# [git]
ln -sf "$dotfiles/shell/_gitconfig" "$HOME/.gitconfig"

# [tmux]
ln -sf "$dotfiles/shell/_tmux.conf" "$HOME/.tmux.conf"

# [arch linux]
ln -sf "$dotfiles/shell/_makepkg.conf" "$HOME/.makepkg.conf"

# [gdb]
ln -sf "$dotfiles/shell/_gdbinit" "$HOME/.gdbinit"

echo "Finished installing dotfiles"