From owner-freebsd-questions Sat Aug 14 19:56:49 1999 Delivered-To: freebsd-questions@freebsd.org Received: from sign.chg.ru (sign.chg.ru [193.233.46.10]) by hub.freebsd.org (Postfix) with ESMTP id 795E814BE5 for ; Sat, 14 Aug 1999 19:56:44 -0700 (PDT) (envelope-from fbsdmail@sign.chg.ru) Received: from localhost (fbsdmail@localhost) by sign.chg.ru (8.9.2/8.9.2) with ESMTP id GAA84077; Sun, 15 Aug 1999 06:54:16 +0400 (MSD) (envelope-from fbsdmail@sign.chg.ru) Date: Sun, 15 Aug 1999 06:54:16 +0400 (MSD) From: Subscriber to freebsd-questions 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? > > > 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). Andrew. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message