Tuesday, September 11, 2012

Re: PATH

Hi,
try this

if has("gui_macvim")
    let $PATH = "/opt/local/bin:/opt/local/sbin:".$PATH
endif

I added something quite similar to my vimrc

-Derek

On Wed, Sep 12, 2012 at 1:37 AM, Bee <forth@calcentral.com> wrote:
Both MacVim and Mac terminal vim use the PATH I have set.

vim-app, a gui version of terminal vim compiled from MacPorts vim-app
@7.3.646_0, does NOT use my PATH.

I found it did not work when trying
:r !gcal
(/bin/bash: line 1: gcal: command not found)

How would I get vim-app to start with my PATH?

This did not work ( :help path )
:set path=.,/opt/local/bin,/opt/local/sbin

Bill

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: