$PATH variable not properly set in gvim/MacVim when it is opened from the finder

后端 未结 4 1427
再見小時候
再見小時候 2020-12-08 22:07

I am using MacVim (basically gvim for the mac).

If I open macvim from the command line then my $PATH variable will be properly set.

If I ope

4条回答
  •  臣服心动
    2020-12-08 22:32

    The place to set environment variables on the Mac for GUI applications (those started via loginwindow, the Finder, etc.) is ~/.MacOSX/environment.plist

    Alternately in MacVim you can choose to launch vim processes in a login-shell (look in the preferences).

    For more info see this post.

提交回复
热议问题