anhnmncb wrote:
> Sometimes I add a path to $PATH after login (i.e. after 
> source the .cshrc), and I'm sure I can run that path's 
> command in console, but when I run vim and use :!cmd, then 
> vim will prompt the command not found.
> I have to add that path to $PATH in .cshrc.

In Vim, does the following show the correct PATH?

  :echo $PATH
  :put =$PATH

The second command will insert it into the current buffer for inspection.

Of course Vim just asks the operating system to handle '!cmd' so the only issue 
is
whether the PATH is inherited by the process started by Vim (I would say "yes").
First point is to decide if Vim's process has that info.

John


--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to