*BSD News Article 96556


Return to BSD News archive

#! rnews 957 bsd
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.cs.su.oz.au!inferno.mpx.com.au!news
From: "Peter Marks" <peter.marks@pobox.com>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: prompt character
Date: 30 May 1997 22:33:42 GMT
Organization: Microplex Pty Ltd
Lines: 20
Message-ID: <01bc6d49$8fc19540$0200a8c0@pip.accinform.com.au>
References: <5mktcs$kbf@sjx-ixn10.ix.netcom.com>
NNTP-Posting-Host: dialup-2b37.mpx.com.au
X-Newsreader: Microsoft Internet News 4.70.1155
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:41947

A question even I might be able to answer..

to1tech@ix.netcom.com wrote in article
<5mktcs$kbf@sjx-ixn10.ix.netcom.com>...
> How do I change the prompt character? Or rather where?

Well, I use the shell called bash and the magic I use for my prompt
character is in my .profile file where I have:

PS1="\w> "

that gives me the following prompt:


/usr/home/peterm> 


get the idea?

peter