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: Matthew Kennedy
Subject: Re: need for a shell-mode-post-hook ?
Date: Wed, 12 Mar 2003 07:53:23 GMT
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

kai.grossjohann@uni-duisburg.de (Kai Großjohann) writes:

> But maybe Matthew could change his ~/.emacs_bash to produce less
> output?  For example, maybe it works to put all commands on one
> (virtual) line by doing things like
> 
>     command1; \
>     command2; \
>     ...
> 
> in ~/.emacs_bash.

That works ;) I ended up with this:

,----[ .emacs_bash ]
| export PS1='\u@\h \W \$ ' ; echo -ne "\r              \n"
`----

The echo writes spaces over the initial mess after moving to the
beginning of the line.

-- 
Matthew Kennedy


reply via email to

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