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

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

Re: changing default shell


From: Kevin Rodgers
Subject: Re: changing default shell
Date: Tue, 22 Mar 2005 17:17:56 -0700
User-agent: Mozilla Thunderbird 0.9 (X11/20041105)

Justin wrote:
> Thanks for the help. Yes, customize-variable was the one I was looking for.
>
> I have cygwin installed on my windows xp system. I have used
> customize-variable to change the shell to C:/cygwin/bin/bash.exe
>
> I clicked "Save for Future Sessions" and it put this in my ~/.emacs:
>
> (custom-set-variables
>   ;; custom-set-variables was added by Custom -- don't edit or cut/paste
> it!
>   ;; Your init file should contain only one such instance.
>  '(shell-file-name "C:/cygwin/bin/bash.exe"))
> (custom-set-faces
>   ;; custom-set-faces was added by Custom -- don't edit or cut/paste it!
>   ;; Your init file should contain only one such instance.
>  )
>
>
> The problem is when I go: M-x shell it still uses the cripled ms command
> prompt.

shell-file-name affects commands like `M-!' and `M-|'.
`C-h f shell RET' explains that you need to customize the
explicit-shell-file-name variable (or set the ESHELL or SHELL
environment variable).

--
Kevin


reply via email to

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