Return to BSD News archive
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!bunyip.cc.uq.oz.au!munnari.oz.au!news.Hawaii.Edu!ames!hookup!swrinde!ihnp4.ucsd.edu!usc!howland.reston.ans.net!paladin.american.edu!newsfeed.ACO.net!news.sztaki.hu!goliat.eik.bme.hu!newsadmin From: pink@fsz.bme.hu (Szabolcs Szigeti (PinkPanther)) Newsgroups: comp.os.386bsd.questions Subject: Re: pwd in the prompt Date: 13 Apr 1994 07:27:06 GMT Organization: Department of Process Control, Technical University of Budapest, HUNGARY Lines: 21 Distribution: world Message-ID: <2og6sa$oc3@goliat.eik.bme.hu> References: <2nrmmu$lql@hermes.unt.edu> Reply-To: pink@fsz.bme.hu NNTP-Posting-Host: bagira.fsz.bme.hu In article 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? >Thanks for your help :) > I use this in my .cshrc : alias cd 'chdir \!:*;set prompt=\!\:$cwd\>\ ' on cshr or tcsh. There are easier ways on tcsh, but this works on both shells. --- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= |You are not expected to understand this | Szabolcs Szigeti | | -- Ken Thompson in swtch() -- | Internet: pink@fsz.bme.hu | =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=