I moved all of my dot files out of~/ in to ~/data/dotfilesI then did ln -s ~/data/dotfiles/[filename] ~/My intention was ln -s ~/data/dotfiles/[filename] ~/[filename]This included my .vimrc , .bashrc And othersNow when I open a terminal session or open vim I get too many levels of symbolic links.I'm unsure if I delete the symbolic link from my home directory or from the directory the files live in. Any help would be appreciated. As per request:jsw:dotfiles jsw$ ls -l ~/.vimrc ~/data/dotfiles/.vimrclrwxr-xr-x  1 jsw  staff      6  1 Aug 13:54 /Users/jsw/.vimrc -> .vimrc-rw-r--r--  1 jsw  staff  11044 31 Jul 10:51 /Users/jsw/data/dotfiles/.vimrc
Symbolic linking to ~/ instead of ~/[path/file]
symlink;dot files
lrwxr-xr-x  1 jsw  staff      6  1 Aug 13:54 /Users/jsw/.vimrc -> .vimrcYou've made a mistake; this was produced by the equivalent of:ln -s .vimrc .vimrcYou could have done something more convoluted than that (ln -s foo/../.vimrc .vimrc), but in any case, as long as there isn't an actual .vimrc file, ln will create the link, but it will be a dud.  If you try and access it you will get:foobar: ./.vimrc:Too many levels of symbolic linksWhere foobar is the name of the application that tried the access. Just delete the link and try again.  Besides ls, stat .vimrc will show you what a file points to.   The output for this one would start:File: .vimrc -> .vimrcWhoops!  readlink is even simpler:> readlink .vimrc.vimrcGiving just the path the link points to.  If that's the exact same path as the file, it's a circular link.  You want to see:> readlink .vimrcdata/dotfiles/.vimrc