[ale] Emacs shell prompt

linuxhat at mailandnews.com linuxhat at mailandnews.com
Sun Aug 22 10:08:40 EDT 1999


On 21 Aug 1999, David S. Jackson wrote:

>I would like to use a different shell prompt under Emacs shell mode
>than I do under my normal xterm-type windows.  Does anyone have a line
>I could add to my .emacs for shell-mode only?  


>   As soon as the subshell is started, it is sent as input the contents
>of the file `~/.emacs_SHELLNAME', if that file 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'.

In there you can specify anything you need that's different from 
the shell; you could shortcut things and source your .profile/.bashrc
and then change what needs changing. 

-- Glenn






More information about the Ale mailing list