Date: Sun, 6 Jun 1999 10:55:50 +0100 From: Mark Ovens <markov@globalnet.co.uk> To: Bart Trzynadlowski <btrzynadlowski@powernet.net> Cc: freebsd-questions@freebsd.org Subject: Re: prompt in csh and terminals Message-ID: <19990606105550.D254@marder-1> In-Reply-To: <19990606105121.C254@marder-1>; from Mark Ovens on Sun, Jun 06, 1999 at 10:51:21AM %2B0100 References: <Pine.BSF.4.05.9906051734020.197-100000@Brzuszek> <19990606105121.C254@marder-1>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Jun 06, 1999 at 10:51:21AM +0100, Mark Ovens wrote: > On Sat, Jun 05, 1999 at 05:42:56PM -0700, Bart Trzynadlowski wrote: > > Hi, > > I have three simple questions. > > > > 1) How can I set the prompt in csh and sh so that it reflects the current > > path... in zsh I got it working so it now looks like: > > > > Not sure about sh(1), but in csh(1) try adding the following alias > to your ~/.cshrc: > > cd \!*;set prompt="`hostname`:`pwd`{\!}% " > Whoops! didn't cut 'n' paste that properly. Should be: alias cd 'cd \!*;set prompt="`hostname`:`pwd`{\!}% "' -- FreeBSD - The Power To Serve http://www.freebsd.org My Webpage http://www.users.globalnet.co.uk/~markov _______________________________________________________________ Mark Ovens, CNC Apps Engineer, Radan Computational Ltd. Bath UK CAD/CAM solutions for Sheetmetal Working Industry mailto:marko@uk.radan.com http://www.radan.com 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?19990606105550.D254>