From owner-freebsd-questions Sat Aug 14 8:48:53 1999 Delivered-To: freebsd-questions@freebsd.org Received: from finch-post-12.mail.demon.net (finch-post-12.mail.demon.net [194.217.242.41]) by hub.freebsd.org (Postfix) with ESMTP id 141B5151EA for ; Sat, 14 Aug 1999 08:48:49 -0700 (PDT) (envelope-from martin@chiron-s.demon.co.uk) Received: from chiron-s.demon.co.uk ([158.152.196.202]) by finch-post-12.mail.demon.net with esmtp (Exim 2.12 #1) id 11Fg2w-000IZ6-0C; Sat, 14 Aug 1999 15:48:39 +0000 Received: from localhost (martin@localhost) by chiron-s.demon.co.uk (8.9.3/8.9.3) with ESMTP id QAA00468; Sat, 14 Aug 1999 16:48:34 +0100 (BST) (envelope-from martin@chiron-s.demon.co.uk) Date: Sat, 14 Aug 1999 16:48:34 +0100 (BST) From: Martin Smith To: Kenneth Legg Cc: freebsd-questions@freebsd.org Subject: Re: Prompt In-Reply-To: <99081410242902.00286@myname.my.domain> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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