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

Re: base-files 1.6 (source all) uploaded to master



> On Sun, 8 Feb 1998, Martin Schulze <joey@kuolema.Infodrom.North.DE> asked:
> > Is it possible to tell bash to use '>' instead of '$' for the
> > user prompt?

On Sun, Feb 08, 1998 at 11:30:58AM -0500, Robert D. Hilliard wrote:
>      Check the bash manpage under PROMPTING.  The '>' character is not
> a special character that requires any special or escape characters.
> My prompt is "bob:vc-3:bob>".  This is created by the following in my
> .bash_profile. :
> PS1='\u:vc-'`ps|cut -c1-9|grep $$|cut -c9`':\W>'
>                                                \ literal '>'

Sure, but this means that root has the '>', too, instead of the
hash.

Regards,

	Joey

-- 
   / Martin Schulze  *  joey@infodrom.north.de  *  26129 Oldenburg /
  / linux: Unbekannter Terminaltyp                                /
 / Ich weiß nicht, auf was für einem Terminaltyp Sie arbeiten -  /
/ alles, was ich habe, ist 'linux'.              -- Solaris 2.5 /


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: