Joined October 2012
·

Tom Beynon

Farnborough, UK
·
·
·

I think there's a better way to do this. Ultimately, /etc/zshenv is sourced with every ZSH shell, including non-interactive. path_helper is needed to fix the path in interactive shells only. If we move /etc/zshenv to /etc/zprofile, it'll only get sourced in login shells, and won't interfere with vim.

sudo mv /etc/{zshenv,zprofile}

More info: https://github.com/sorin-ionescu/prezto/issues/381

This fixed the issue for me, and I was still able to leave the path helper functionality intact.

Achievements
98 Karma
1,569 Total ProTip Views