From: ins217t@aurora.cc.monash.edu.au (Andrew J. Cosgriff !) Subject: Re: a sample twmrc - bash prompt Date: 26 Oct 1992 10:11:57 GMT
Actually, there's a better way to show the pwd & username in bash...
PS1='\u@\h (\w) -'
\u is the username
\h is the hostname
\w is the realtive dir. (eg. ~ is home, etc.)
just do a man bash, and you'll see others for time & date, etc...
Cos !
--
Andrew J. Cosgriff ! ins217t@aurora.cc.monash.edu.au
ins217t@lindblat.cc.monash.edu.au
cos@yoyo.cc.monash.edu.au
"Language is a virus from outer space" - William S. Burroughs