diff options
Diffstat (limited to 'link.sh')
-rwxr-xr-x | link.sh | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -10,7 +10,9 @@ cd $dir # move current files and link contained files files=$(ls $dir) -for name in $files; do +for f in $files; do + name=${f//+//} + echo $name mv ~/.$name ~/dotfiles_old/ - ln -s $dir/$name ~/.$name + ln -s $dir/$f ~/.$name done |