Return to BSD News archive
Newsgroups: comp.os.386bsd.questions Path: sserve!newshost.anu.edu.au!munnari.oz.au!spool.mu.edu!hri.com!bloom-beacon.mit.edu!usc!sdd.hp.com!nigel.msen.com!zib-berlin.de!uni-paderborn.de!urmel.informatik.rwth-aachen.de!gmd.de!mururoa!veit From: veit@mururoa.gmd.de (Holger Veit I5.EDS) Subject: Re: pwd in the prompt Message-ID: <1994Apr8.132929.9611@gmd.de> Sender: veit@mururoa (Holger Veit I5.EDS) Nntp-Posting-Host: mururoa Organization: GMD - German National Research Center for Computer Science References: <2nrmmu$lql@hermes.unt.edu> <ghcPO2q00iM8I0flE9@andrew.cmu.edu> Date: Fri, 8 Apr 1994 13:29:29 GMT Lines: 24 |> > In article <2nrmmu$lql@hermes.unt.edu>, wilsonm@dale.hsc.unt.EDU (Mike Wilson)\ |> > writes: |> > |> Simply, I want to have the path in the prompt, I have tried several |> > |> different ways but have yet to get it to work correctly. Does anyone out |> > |> there have something I can use? |> > For quite a long time I use something like the following in .cshrc: set prompt='[\!]'$cwd'>' alias cd 'cd \!*;set prompt=\[\!\]$cwd\>' giving a prompt (with history) like [53]/usr/src/sys/arch/i386/isa> -- Dr. Holger Veit | INTERNET: Holger.Veit@gmd.de | | / GMD-SET German National Research | Phone: (+49) 2241 14 2448 |__| / Center for Computer Science | Fax: (+49) 2241 14 2342 | | / Schloss Birlinghoven | Had a nightmare yesterday: | |/ 53754 St. Augustin, Germany | My system started up with | ... Booting vmunix.el ...