diff options
| author | Reiner Herrmann <reiner@reiner-h.de> | 2021-12-26 20:39:13 +0100 |
|---|---|---|
| committer | Reiner Herrmann <reiner@reiner-h.de> | 2021-12-26 20:39:13 +0100 |
| commit | fcbfe6f5e97d8a500f768ac40284f173bdd6dd82 (patch) | |
| tree | 3ff1633cfb81dc7bf49f3bf58305b638c93b5555 /deploy.sh | |
| parent | ef6bc21b70df8b4739ac14de023a4d2da0c57905 (diff) | |
add deployment script
Diffstat (limited to 'deploy.sh')
| -rwxr-xr-x | deploy.sh | 21 |
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 |
