Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Mar 1996 20:40:44 +1030 (CST)
From:      Michael Smith <msmith@atrad.adelaide.edu.au>
To:        mikec@mediacity.com (Mike Coffey & Yvonne Shevnin)
Cc:        questions@freebsd.org
Subject:   Re: How to make current directory show at the commandline?
Message-ID:  <199603131010.UAA02676@genesis.atrad.adelaide.edu.au>
In-Reply-To: <31468A3B.28B6@mediacity.com> from "Mike Coffey & Yvonne Shevnin" at Mar 13, 96 00:41:31 am

next in thread | previous in thread | raw e-mail | index | archive | help
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  [[



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199603131010.UAA02676>