help-emacs-windows
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [h-e-w] cygwin bash -i from *shell* yields "command not found"? (Lin


From: Richard M. Heiberger
Subject: Re: [h-e-w] cygwin bash -i from *shell* yields "command not found"? (Line ending issue?)
Date: Wed, 5 Dec 2007 20:22:46 -0500 (EST)

Ah, but the real reason is that you started bash from inside a
CMD window.   Start it directly by adding these lines to
site-start.el

;;; shell on windows to bash
(make-local-variable 'cygwin)
(make-local-variable 'cygwin-bin)
(make-local-variable 'cygwin-bash)
(setq cygwin (concat where "cygwin"))
(setq cygwin-bin (concat cygwin "/bin"))
(setq cygwin-bash (concat cygwin-bin "/bash.exe"))
(setenv "SHELL" cygwin-bash)
(setq shell-file-name cygwin-bash)
(setenv "CVS_RSH" (concat cygwin-bin "/ssh.exe"))




reply via email to

[Prev in Thread] Current Thread [Next in Thread]