Re: Shelling out to cygwin bash from Windows vim Options

2012-09-01 Thread Andy
Sorry, what I posted was completely lacking in context. The shell option has to be set in such a way that bash sources .bashrc and picks up the aliases, function definitions, and most importantly, the PATH. To maintain common vimrc files for Windows & Cygwin installs of vim across multiple compu

Shelling out to cygwin bash from Windows vim Options

2012-09-01 Thread Andy
This problem dogged me for many years, and I finally hunkered down to chase it down. Here is the solution that I found works for me: "set shell=c:\cygwin\bin\bash.exe\ -i "Won't always find ~/.bashrc cuz depending on how vim is launched, "~ doesn't always resolve to c:/cygwin/home/$USERNAME