From owner-freebsd-questions Sat Jun 9 1:54: 6 2001 Delivered-To: freebsd-questions@freebsd.org Received: from discus.nl.uu.net (discus.nl.uu.net [193.67.79.178]) by hub.freebsd.org (Postfix) with ESMTP id DE45A37B403 for ; Sat, 9 Jun 2001 01:54:03 -0700 (PDT) (envelope-from arjan@jak.nl) Received: from 1Cust200.tnt50.rtm1.nl.uu.net ([213.117.18.200]:1530 "EHLO jak.nl") by discus.nl.uu.net with ESMTP id ; Sat, 9 Jun 2001 10:53:42 +0200 Message-ID: <3B21E429.1C63DC2B@jak.nl> Date: Sat, 09 Jun 2001 10:54:01 +0200 From: Arjan Knepper Organization: JAK++ Software Development B.V. X-Mailer: Mozilla 4.76 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: Thomas Widlundh Cc: FreeBSD Subject: Re: pwd References: <20010609082646.B0DB437B405@hub.freebsd.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Read the man page for bash and search for PS1 and PS2 you need to edit the .profile or .bashrc is don't want to mess up the sh shell config file file in you home directory. ... ... PS1="\h:\w \$" export PS1 ... ... Or use the csh shell and edit the .cshrc file in your home directory ... ... set prompt = "'hostname -s' :%/# " .... .... Good Luck Arjan Thomas Widlundh wrote: > Hi, > I've seen in Linux that bash is showing the path where you are for the moment in the prompt. > I have changed to the bash2.04 shell in my fBSD, but there are no paths. I have to do the "pwd" all the time. > I think it's quite handy with this path showing. > Any ideas? > Best, > Thomas > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message