summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xdeploy.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/deploy.sh b/deploy.sh
index 5d8fdcf..cf6649b 100755
--- a/deploy.sh
+++ b/deploy.sh
@@ -5,14 +5,15 @@ function install_font {
fc-cache
}
+mkdir -p "${HOME}/.config"
+
for i in $(find . -maxdepth 1 -type d); do
if [[ "$i" == "./.git" ]]; then
continue
fi
- mkdir -p "${HOME}/.config/${i}"
- ln -s "$(pwd)/${i}" "${HOME}/.config/${i}"
+ ln -sfn "$(pwd)/${i}" "${HOME}/.config/"
done
ln -s "$(pwd)/.tmux.conf" "${HOME}/.tmux.conf"