Upgrading to FreeBSD 3.2 etc
Mark Ovens
mark at dogma.freebsd-uk.eu.org
Wed Sep 1 22:58:38 BST 1999
On Wed, Sep 01, 1999 at 10:58:39PM +0100, Dominic Mitchell wrote:
> On Mon, Aug 30, 1999 at 10:43:40PM +0100, Mark Ovens wrote:
> > On Mon, Aug 30, 1999 at 05:28:12PM +0100, Charles Brewster wrote:
> > > I can't seem to figure out any straightforward or intuitive way to get a
> > > $p$g type prompt in the default "csh" shell, and a new "bash" (2.03) fresh
> >
> > alias cd 'cd \!*;set prompt="`hostname`:`pwd`{!}% "'
>
> Please don't encourage people onto csh...
>
Why not? Are you trying to start a religious war ;-)
> In bash, you can do:
>
> PS1='\w\$ '
>
> Which will give you the current working directory. Look in the bash man
> page for PS1 which will give you a list of all the things you can do.
>
> Your best bet is to install zsh, however. :-)
>
--
STATE-OF-THE-ART: Any computer you can't afford.
OBSOLETE: Any computer you own.
________________________________________________________________
FreeBSD - The Power To Serve http://www.freebsd.org
My Webpage http://ukug.uk.freebsd.org/~mark/
mailto:mark at ukug.uk.freebsd.org http://www.radan.com
More information about the Ukfreebsd
mailing list