Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 May 1998 10:11:55 +0300 (EEST)
From:      "Oleg G." <olegg@astra.gal.ukrpack.net>
To:        Questions <questions@FreeBSD.ORG>, satnam <bsatnam@direct.ca>
Subject:   Re: FreeBSD V2.2.2 release 0
Message-ID:  <Pine.BSF.3.96.980529100143.3017B-100000@astra.gal.ukrpack.net>
In-Reply-To: <356E2536.EBA73587@direct.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 28 May 1998, satnam wrote:

> Hi
> 
> I'm a novice Unix and would like to know if there is a way to change the
> command from a # to a full directory path; so, I can see what directory
> I'm currently working in.
> 
> Any help with this matter would be greatly appreciated.
> satnam
> 

Try to edit Your rc file, for example ~/.cshrc :

#csh .cshrc file
...
... some lines are deleted
...
if ($?prompt) then
	# An interactive shell -- set some stuff up
	set filec
	set history = 100
	set ignoreeof
	set mail = (/var/mail/$USER)
	set mch = `hostname -s`
#	set prompt = "${mch:q}: {\!} "
	set prompt="%n@%m:%l [%T] %c3%# %L"
	umask 2
endif

It rc file prepared for tcsh.

Rgdz, Oleg.
~~~~~~~~~~~


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?Pine.BSF.3.96.980529100143.3017B-100000>