Do not fork gvim if called from a non-shell process (e.g. git commit)