emacs-devel
[Top][All Lists]
Advanced

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

Re: On prompt in shell mode


From: David Hansen
Subject: Re: On prompt in shell mode
Date: Thu, 14 Aug 2008 12:22:19 +0200
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.60 (gnu/linux)

On Thu, 14 Aug 2008 10:50:30 +0200 Angelo Graziosi wrote:

> On Cygwin, it seems that only the 'else' branch is followed. Indeed using
>
> if [ "x$EMACS" = xt ]; then
> # set up your prompt for M-x shell.
> PS1='OK1> '
> else
> # fancy prompt for real terminals.
> PS1='OK2> '
> fi

What shell do you use?  The brackets may be a bash extension.  You can
try: if test "x$EMACS" = xt; then ...

David





reply via email to

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