From fcbfe6f5e97d8a500f768ac40284f173bdd6dd82 Mon Sep 17 00:00:00 2001 From: Reiner Herrmann Date: Sun, 26 Dec 2021 20:39:13 +0100 Subject: add deployment script --- deploy.sh | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100755 deploy.sh (limited to 'deploy.sh') 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 -- cgit v1.2.3