From: Christian Heller Date: Sun, 3 May 2015 02:19:39 +0000 (+0200) Subject: Force writing of symlink files even when destination exists. X-Git-Url: https://plomlompom.com/repos/%7B%7Bprefix%7D%7D/conditions?a=commitdiff_plain;h=0ca4a530f49d5b15acccab40cad58ceb00327f7c;p=config Force writing of symlink files even when destination exists. --- diff --git a/symlink.sh b/symlink.sh index 3d399d3..9343880 100755 --- a/symlink.sh +++ b/symlink.sh @@ -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