But the solution is simple, just switch around which is the real file and which is the symlink.
So where you used to have symlinks like
~/Dropbox/.bashrc -> ~/.bashrc
~/Dropbox/.vim —> ~/.vim/
and so on, remove the old symlinks and place the real files in ~/Dropbox/ and then symlink the other locations there. ~/.bashrc -> ~/Dropbox/.bashrc
~/.vim -> ~/Dropbox/.vim/
and so on.This is similar to what I do with some of my files in ~/bin/
Many of the files I have in my ~/bin/ are symlinks to files that live in git repositories.
For example, I have a few “alias commands” (shell scripts that wrap a longer command) in ~/bin/
~/bin/st -> ../src/github.com/ctsrc/shell-command-aliases/bin/st
(Aside: Why not aliases in my bashrc, you ask? Because I use a few different operating systems and eventually realized that rather than trying to unify OS specifics and shared aliases in bashrc it was much simpler to maintain the aliases as wrapping shell scripts.)