[Gllug] ed vs emacs/vi, was: ed vs emacs, was: OpenMoko Neo Freerunner
Peter Corlett
abuse at cabal.org.uk
Fri May 15 12:28:50 UTC 2009
On Fri, May 15, 2009 at 12:59:53PM +0100, James Laver wrote:
[...]
> term.el is severely lacking, even to the point where the first thing I
> have to do when m-x term'ing is set PS1='$ ' because otherwise my custom
> PS1 will take up the screen because it doesn't recognise OR remove ansi
> escapes that I happen to use to colour my prompt (helps me pick out the
> information).
In your .bashrc:
if [ "X$TERM" == "Xdumb" ] ; then
export PS1='\$ '
else
export PS1=$ANGRY_FRUIT_SALAD
fi
--
Gllug mailing list - Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug
More information about the GLLUG
mailing list