Configured a mapping for created a ctags tags file for vim
Git bare repos don't have .git files, but still count as git and breaks stuff. I've added a check for both .git and .hg explicitly to prevent the rprompt from crashing.