[OS X Emacs] Shell in Aquamacs

Peter Dyballa Peter_Dyballa at Web.DE
Wed Jul 7 14:27:04 EDT 2010

Am 07.07.2010 um 18:12 schrieb Bernardo Barros:

> Really? Hum.. And I also should have a ~/.emacs_bash_profile ?

No, only ~/.emacs_bash. See this excerpt from the documentation:

    Emacs sends the new shell the contents of the file
`~/.emacs_SHELLNAME' as input, if it exists, where SHELLNAME is the
name of the file that the shell was loaded from.  For example, if you
use bash, the file sent to it is `~/.emacs_bash'.  If this file is not
found, Emacs tries to fallback on `~/.emacs.d/init_SHELLNAME.sh'.

> Why this?

For example to switch off effects in PROMPT or in (g)ls (coloured  
output, which a long time were not supported) or to create that file  
during startup of GNU Emacs before shell is invoked to set particular  
(environment) variables.



The human brain operates at only 10% of its capacity. The rest is  
overhead for the operating system.

More information about the MacOSX-Emacs mailing list