[comp.unix.wizards] Setting PS1 prompt to show current

ftw@datacube.UUCP (11/23/87)

tim@ism780c.UUCP writes:
> In article <275@caus-dp.UUCP> dansh@caus-dp.UUCP (Dan Harris) writes:
> < I am currently using the Bourne shell on an Intel 310 xenix system
> < and I was wondering how to set the cursor prompt to indicate what
> < directory I am working in.
> <  

> PS1=.

> What?  You wanted the absolute path name?  Oh.  Never mind...
> -- 
> Tim Smith, Knowledgian		{sdcrdcf,uunet}!ism780c!tim
				tim@ism780c.isc.com

Better yet, how about this:

PS1="`pwd` >"

(Note that those are BACK quotes)


				Farrell T. Woods 

Datacube Inc. Systems / Software Group	4 Dearborn Rd. Peabody, Ma 01960
VOICE:	617-535-6644;	FAX: (617) 535-5643;  TWX: (710) 347-0125
INTERNET: ftw@datacube.COM
UUCP: {rutgers, ihnp4, mirror}!datacube!ftw