From owner-freebsd-questions Sat Aug 14 20: 4:38 1999 Delivered-To: freebsd-questions@freebsd.org Received: from sand5.global.net.uk (sand5.global.net.uk [194.126.80.249]) by hub.freebsd.org (Postfix) with ESMTP id B9B7414E8F for ; Sat, 14 Aug 1999 20:04:35 -0700 (PDT) (envelope-from marko@globalnet.co.uk) Received: from pa4s13a06.client.global.net.uk ([195.147.221.165] helo=marder-1.) by sand5.global.net.uk with esmtp (Exim 2.05 #1) id 11FqbN-0007EW-00; Sun, 15 Aug 1999 04:04:54 +0100 Received: (from marko@localhost) by marder-1. (8.9.2/8.8.8) id DAA00421; Sun, 15 Aug 1999 03:58:14 +0100 (BST) (envelope-from marko) Date: Sun, 15 Aug 1999 03:58:14 +0100 From: Mark Ovens To: Subscriber to freebsd-questions Cc: Kenneth Legg , freebsd-questions@freebsd.org Subject: Re: Prompt Message-ID: <19990815035813.C267@marder-1> References: <99081410242902.00286@myname.my.domain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.3i In-Reply-To: ; from Subscriber to freebsd-questions on Sun, Aug 15, 1999 at 06:54:16AM +0400 Organization: Total lack of Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, Aug 15, 1999 at 06:54:16AM +0400, Subscriber to freebsd-questions wrote: > > > On Sat, 14 Aug 1999, Kenneth Legg wrote: > > > How do you change the prompt to show the current directory? > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-questions" in the body of the message > > > > If you use csh or tcsh, type this line in your .cshrc file : > > set prompt = "`hostname -s`: %~ > " > > This also adds information about hostname (useful thing, when you have > accounts on several boxes). Or add the following alias: alias cd 'cd \!*;set prompt="`hostname`:`pwd`{!}% "' > Andrew. > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > -- FreeBSD - The Power To Serve http://www.freebsd.org My Webpage http://http://ukug.uk.freebsd.org/~mark/ _______________________________________________________________ Mark Ovens, CNC Apps Engineer, Radan Computational Ltd. Bath UK CAD/CAM solutions for Sheetmetal Working Industry mailto:mark@ukug.uk.freebsd.org http://www.radan.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message