Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Aug 1999 16:48:34 +0100 (BST)
From:      Martin Smith <martin@chiron-s.demon.co.uk>
To:        Kenneth Legg <sce04020@mail.wvnet.edu>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Prompt
Message-ID:  <Pine.BSF.4.10.9908141639270.450-100000@chiron-s.demon.co.uk>
In-Reply-To: <99081410242902.00286@myname.my.domain>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 14 Aug 1999, Kenneth Legg wrote:

> How do you change the prompt to show the current directory?

#	$Id: dot.cshrc,v 1.9 1998/09/02 14:10:22 bde Exp $
#
.......various bits snipped.......
if ($?prompt) then
	# An interactive shell -- set some stuff up
	set filec
	set history = 100
	set savehist = 100
	set mail = (/var/mail/$USER)
	set prompt = "%/> "
endif

this works
HTH

> 

-- 
martin




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.4.10.9908141639270.450-100000>