home · contact · privacy
Force writing of symlink files even when destination exists.
[config] / symlink.sh
index 3d399d37e23101fcbf6914693a4f576c8f2f2f89..9343880d057918d81c4f0999c5b6523c1ada5459 100755 (executable)
@@ -3,5 +3,5 @@
 dir=~/config/dotfiles
 cd ~
 for file in `ls $dir`; do
-    ln -s $dir/$file ~/.$file
+    ln -fs $dir/$file ~/.$file
 done