diff --git a/scripts/setup_symlinks b/scripts/setup_symlinks index bd93a7e..7c6042d 100755 --- a/scripts/setup_symlinks +++ b/scripts/setup_symlinks @@ -8,7 +8,7 @@ setup_symlinks() { for source in $(find "$DOTS" -iname "*.symlink") do dest="$HOME/.`basename \"${source%.*}\"`" - ln -sf "$source" "$dest" + ln -sfn "$source" "$dest" done echo "symlinks ✓" @@ -18,7 +18,7 @@ setup_configlinks() { for source in $(find "$DOTS" -iname "*.configlink") do dest="$HOME/.config/`basename \"${source%.*}\"`" - ln -sf "$source" "$dest" + ln -sfn "$source" "$dest" done echo "configlinks ✓"