summaryrefslogtreecommitdiff
path: root/deploy.sh
diff options
context:
space:
mode:
authorReiner Herrmann <reiner@reiner-h.de>2022-10-03 01:48:13 +0200
committerReiner Herrmann <reiner@reiner-h.de>2022-10-03 01:48:13 +0200
commit666fd12e2f0867a57568de284fe30ae578116773 (patch)
tree1095c96a83dcbb882eed26c39f9a5b78e8d969d9 /deploy.sh
parentac4ec38f44387963862a40db6b9fe212f10c0f82 (diff)
deploy.sh: don't create symlink inside directory
Diffstat (limited to 'deploy.sh')
-rwxr-xr-xdeploy.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/deploy.sh b/deploy.sh
index 632c61c..7253067 100755
--- a/deploy.sh
+++ b/deploy.sh
@@ -6,7 +6,7 @@ CONFIG_DIR=${HOME}/config
ln -sf ${CONFIG_DIR}/bashrc ${HOME}/.bashrc
-ln -sf ${CONFIG_DIR}/vim ${HOME}/.vim
+ln -sfT ${CONFIG_DIR}/vim ${HOME}/.vim
ln -sf ${CONFIG_DIR}/vimrc ${HOME}/.vimrc
ln -sf ${CONFIG_DIR}/inputrc ${HOME}/.inputrc
@@ -15,7 +15,7 @@ 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
+ln -sfT ${CONFIG_DIR}/git/hooks ${HOME}/.git_template/hooks
mkdir -p ${HOME}/.mutt
ln -sf ${CONFIG_DIR}/muttrc ${HOME}/.mutt/muttrc