Sorry, I forgot to add the problem is also present when using gvim (MS- Windows 32-bit GUI version).
On Nov 16, 1:03 am, bgold12 <[email protected]> wrote: > I recently added a couple of directories to my path and then found > that the command-line shell command (i.e. ":!ls") stopped working. > More specifically, the shell didn't seem to be able to find any of my > cygwin or otherwise utilities. I have been able to identify that when > my $PATH is 259 characters or less in length, there is no problem, but > when I add that 260th character, suddenly the $PATH variable becomes > empty in the spawned shell. In other words, when I run the command ":! > echo $PATH", I see a blank line (only when $PATH is 260 characters or > greater). > > This problem only seems to be present when I use the MS-Windows 32-bit > console version of vim with bash as my shell. I'm currently using the > following settings: > > set shell=/bin/bash > set shellcmdflag=-c > set shellslash > set shellredir=>%s\ 2>&1 > > This seems like a bug to me, but correct me if I'm wrong. --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
