Path: utzoo!news-server.csri.toronto.edu!rutgers!njin!princeton!udel!haven!umd5!lewhoosh.umd.edu!matthews From: matthews@lewhoosh.umd.edu (Mike Matthews) Newsgroups: comp.sys.next Subject: Re: tcsh Message-ID: <8239@umd5.umd.edu> Date: 14 Mar 91 15:08:36 GMT References: <1991Mar12.072203.12123@nntp-server.caltech.edu> <1991Mar12.162045.10918@math.ucla.edu> <1991Mar14.051506.1851@midway.uchicago.edu> Sender: news@umd5.umd.edu Organization: Computer Science Center, University of Maryland, College Park Lines: 20 To put the current directory into your prompt, you don't need tcsh. Just: alias cd 'cd \!*; set prompt="$host `pwd` > ' The `pwd` part is the important one here. Now, true, this gets confused with pushd and popd, but you can alias them too (well, popd might prove a wee bit difficult -- perhaps alias popd 'popd ; cd .' would do the trick). tcsh is nice, yes, but NeXT's csh isn't as braindead as most people think. [btw, those aliases work on any csh as far as I know] ------ Mike Matthews, matthews@lewhoosh.umd.edu (NeXT)/matthews@umdd (bitnet) ------ I see the eigenvalue in thine eye, I hear the tender tensor in thy sigh. Bernoulli would have been content to die Had he but known such a-squared cos 2(thi)!