summaryrefslogtreecommitdiff
path: root/deploy.sh
blob: e3eb681762fbb8039d57ab54866fc18a0a441cd7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/sh

set -ex

CONFIG_DIR=${HOME}/config

ln -sf ${CONFIG_DIR}/bashrc ${HOME}/.bashrc

ln -sfT ${CONFIG_DIR}/vim ${HOME}/.vim
ln -sf ${CONFIG_DIR}/vimrc ${HOME}/.vimrc

ln -sf ${CONFIG_DIR}/inputrc ${HOME}/.inputrc

ln -sf ${CONFIG_DIR}/screenrc ${HOME}/.screenrc

mkdir -p ${HOME}/.config/git/template
ln -sf ${CONFIG_DIR}/git/gitconfig ${HOME}/.config/git/config
ln -sfT ${CONFIG_DIR}/git/hooks ${HOME}/.config/git/template/hooks

mkdir -p ${HOME}/.mutt
ln -sf ${CONFIG_DIR}/muttrc ${HOME}/.mutt/muttrc

ln -sf ${CONFIG_DIR}/ripgreprc ${HOME}/.config/ripgreprc