Saturday, September 1, 2012

Re: Shelling out to cygwin bash from Windows vim

On 2012-09-01, AndyHancock wrote:

> let &shell='c:\cygwin\bin\bash.exe ' .
> \ --rcfile c:/cygwin/home/' . $USERNAME . '/.bashrc -i'

Windows has to understand the path to the shell executable, but the
argument to --rcfile is interpreted by Cygwin's bash, which only
officially supports POSIX paths, so it should be something like
this:

/home/$USERNAME/.bashrc

Regards,
Gary

--
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: