summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xdeploy.sh21
1 files changed, 21 insertions, 0 deletions
diff --git a/deploy.sh b/deploy.sh
new file mode 100755
index 0000000..9dbd4ef
--- /dev/null
+++ b/deploy.sh
@@ -0,0 +1,21 @@
+#!/bin/sh
+
+set -ex
+
+CONFIG_DIR=${HOME}/config
+
+ln -sf ${CONFIG_DIR}/bashrc ${HOME}/.bashrc
+
+ln -sf ${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
+
+ln -sf ${CONFIG_DIR}/git/gitconfig ${HOME}/.gitconfig
+mkdir -p ${HOME}/.git_template
+ln -sf ${CONFIG_DIR}/git/hooks ${HOME}/.git_template/hooks
+
+mkdir -p ${HOME}/.mutt
+ln -sf ${CONFIG_DIR}/muttrc ${HOME}/.mutt/muttrc