Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Aug 1999 06:54:16 +0400 (MSD)
From:      Subscriber to freebsd-questions <fbsdmail@sign.chg.ru>
To:        Kenneth Legg <sce04020@mail.wvnet.edu>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Prompt
Message-ID:  <Pine.BSF.4.05.9908150645340.84067-100000@sign.chg.ru>
In-Reply-To: <99081410242902.00286@myname.my.domain>

next in thread | previous in thread | raw e-mail | index | archive | help


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.9908150645340.84067-100000>