[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[h-e-w] bash commands
From: |
David Starks-Browning |
Subject: |
[h-e-w] bash commands |
Date: |
Fri, 18 Jan 2002 18:05:08 +0000 |
You probably need to set your PATH environment variable.
There is a Cygwin FAQ entry "How do I run bash as a shell under NT
Emacs?" at <http://cygwin.com/faq/>. It should help. If it doesn't
let me know.
Regards,
David
(Cygwin FAQ maintainer)
On Friday 18 Jan 02, Morgan V. Cundiff writes:
>
> I just installed cygwin bash. I added c:\cygwin\bin to my PATH vaariable
> and all the commands and programs that are in that directory run fine both
> from windows 2000 command line and the bash shell prompt. However when I
> start up bash in emacs (M-q shell) the bash shell starts up but when I
> type a command, some commands work (such as ls or pwd) but most do not
> (such as mkdir, cat, du, etc.). What is going on here. How do you make bash
> running
> within emacs aware of the programs that are in c:\cygwin\bin directory?
>
> Here is what i have in .emacs regarding bash:
>
> (setq exec-path (cons "c:\\cygwin\\bin" exec-path))
> (setenv "SHELL" "c:\\cygwin\\bin\\bash.exe")
> (setq shell-file-name "c:\\cygwin\\bin\\bash.exe")
>
>
> Thanks,
> Morgan Cundiff
>