Add a dot for symlinking to the same file/directory

I use ubuntu 12.04 and I had to add a point to make it work at line 30 
`ln -s $dir/.$file ~/.$file`