From owner-freebsd-questions Wed Mar 13 02:00:57 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id CAA19547 for questions-outgoing; Wed, 13 Mar 1996 02:00:57 -0800 (PST) Received: from genesis.atrad.adelaide.edu.au (genesis.atrad.adelaide.edu.au [129.127.96.120]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id CAA19540 for ; Wed, 13 Mar 1996 02:00:53 -0800 (PST) Received: from msmith@localhost by genesis.atrad.adelaide.edu.au (8.6.12/8.6.9) id UAA02676; Wed, 13 Mar 1996 20:40:44 +1030 From: Michael Smith Message-Id: <199603131010.UAA02676@genesis.atrad.adelaide.edu.au> Subject: Re: How to make current directory show at the commandline? To: mikec@mediacity.com (Mike Coffey & Yvonne Shevnin) Date: Wed, 13 Mar 1996 20:40:44 +1030 (CST) Cc: questions@freebsd.org In-Reply-To: <31468A3B.28B6@mediacity.com> from "Mike Coffey & Yvonne Shevnin" at Mar 13, 96 00:41:31 am MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Mike Coffey & Yvonne Shevnin stands accused of saying: > > I would like the current directory that I am at to display at the command > line like it does in DOS. Is there anyway to emulate this? If you're using tcsh, try this in your .cshrc file : set prompt=`hostname -s`:%~\> Read the tcsh manual page for more details. > Thanks-- Yvonne Shevnin -- ]] Mike Smith, Software Engineer msmith@atrad.adelaide.edu.au [[ ]] Genesis Software genesis@atrad.adelaide.edu.au [[ ]] High-speed data acquisition and (GSM mobile) 0411-222-496 [[ ]] realtime instrument control (ph/fax) +61-8-267-3039 [[ ]] Collector of old Unix hardware. "Where are your PEZ?" The Tick [[