vim: don't track vim packages, that's NeoBundle's job.
vim+emacs: ignore managed files
zsh: function to check if var exists