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

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

Re: need for a shell-mode-post-hook ?


From: Kevin Rodgers
Subject: Re: need for a shell-mode-post-hook ?
Date: Wed, 05 Mar 2003 12:38:04 -0700
User-agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2

Matthew Kennedy wrote:

My ~/.emacs_bash contains the following:

,----[ .emacs_bash ]
|
| PS1='\u@\h \W \$ '
`----

When I start shell with M-x shell RET, I get several prompts across
the top of the buffer.  It looks pretty tacky to me.  So I thought of
adding "clear" to the end of ~/.emacs_bash, however since its not
terminal-connected, clear has no effect (I think?).

Here's my ~/.emacs_ksh file:

print "# Reading ~/.emacs_${SHELL##*/}...\c"; . ~/emacs/.kshrc

--
<a href="mailto:&lt;kevin.rodgers&#64;ihs.com&gt;";>Kevin Rodgers</a>



reply via email to

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