Date: Sat, 09 Jun 2001 10:54:01 +0200 From: Arjan Knepper <arjan@jak.nl> To: Thomas Widlundh <tw@ettnet.se> Cc: FreeBSD <freebsd-questions@FreeBSD.ORG> Subject: Re: pwd Message-ID: <3B21E429.1C63DC2B@jak.nl> References: <20010609082646.B0DB437B405@hub.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3B21E429.1C63DC2B>