On Sat, Sep 12, 2009 at 8:22 PM, John A Pershing Jr
<pers...@optonline.net> wrote:
> rpd wrote:
>>
>> Hi
>>
>> I guess this question has been asked before but I want to open cygwin bash
>> shell in Emacs (Vista O/S).
>>
>>
>
> I'm probably missing something fundamental -- however, I have C:\cygwin\bin
> in my (Windoze) PATH, right after the various C:\WINDOWS directories, and I
> have the line:
>
>   (setq explicit-shell-file-name "C:/cygwin/bin/bash.exe")
>
> in my .emacs file, and it just works.  I also have a file .emacs_bash.exe
> containing the single line:
>
>   . .bash_profile
>
> since the Emacs 'shell' command does not pass the --login option to the
> shell.


Yes, that it is more problematic if you want to change between different shells.


Reply via email to