Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Oct 2000 18:14:23 -0700
From:      rsowders@usgs.gov
To:        Rick Hamell <hamellr@heorot.1nova.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: CSH Shell
Message-ID:  <OF693C4B30.80F32598-ON8825697D.000695E4@wr.usgs.gov>

next in thread | raw e-mail | index | archive | help
This is a multipart message in MIME format.
--=_alternative 0006D3658825697D_=
Content-Type: text/plain; charset="us-ascii"

Try this

alias cd 'cd \!*; set prompt="`echo $cwd`> "'
cd

It will give you a prompt of the curent working directory

Try this

set prompt="`hostname`:$USER>"

It will give you a prompt of hostname:user
--=_alternative 0006D3658825697D_=
Content-Type: text/html; charset="us-ascii"


<br><font size=7 face="sans-serif">Try this</font>
<br>
<br><font size=7 face="sans-serif">alias cd 'cd \!*; set prompt=&quot;`echo $cwd`&gt; &quot;'</font>
<br><font size=7 face="sans-serif">cd</font>
<br>
<br><font size=7 face="sans-serif">It will give you a prompt of the curent working directory</font>
<br>
<br><font size=7 face="sans-serif">Try this</font>
<br>
<br><font size=7 face="sans-serif">set prompt=&quot;`hostname`:$USER&gt;&quot;</font>
<br>
<br><font size=7 face="sans-serif">It will give you a prompt of hostname:user</font>
--=_alternative 0006D3658825697D_=--


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?OF693C4B30.80F32598-ON8825697D.000695E4>