gcmt/ozzy.vim — pull request #4 by derekschrock (2013-03-30 22:18:41+00:00)
Title: Fix ozzy.vim's ozzy/launcher.py when os.path.expanduser('~') is a symlink

In FreeBSD /home is a symlink to /usr/home (by default at least), when ozzy.vim's launcher.py tries to replace os.path.expanduser('~') this doesn't take into account the symlinks.

Files added to ~/.ozzy/index.db expand symlinks so editing /home/user/.vimrc/ will expand to /usr/home/user/.vimrc

os.path.expanduser('~') resolves to /home/user/ in turn line 151's replace creates a string of the following form:

launcher.py 151: /usr~/.vimrc
ex: /usr/home/dereks/.vimrc|.vimrc|5|2013-03-30 18:02:11.566752

PS: you could just as easily comment line 151 assuming you're alright with the full path instead of ~/path/to/file