jchin@van-bc.wimsey.bc.ca (Joseph Chin) (01/21/91)
It has been a while since I've used SCO XENIX. But I have the following prompt set up for my NeXT running MACH OS and it works great! As long as you are using C-shell, the set up should work without any problem. Put these in your .csrhc or .login file: set prompt="[`pwd`]-> " alias cd 'cd \!*;set prompt="[`pwd`]-> "' Hope that helps. :-)Joe jchin@van-bc.wimsey.bc.ca -- ************************************************************** * "Kill the body and the head will die" (Hunter S. Thompson) * * NeXT --> The ultimate electronic publishing platform! * ********** Joseph Chin --> jchin@van-bc.wimsey.bc.ca *********
cliffb@cjbsys.bdb.com (cliff bedore) (01/21/91)
In article <1991Jan19.225146.23909@hellgate.utah.edu> u-mwong%peruvian.utah.edu@cs.utah.edu (Michael Wong) writes: > > Also, I'm having difficulty setting up a CD alias to show me my current >directory. For example: ...... >Michael Wong >u-mwong@peruvian.utah.edu >University of Utah Here's what I use in my .cshrc. It sets up the initial prompt and the alias for cd. if ($?prompt) then set prompt="`pwd` : " # set prompt string alias cd 'cd \!*;set prompt = "`pwd` : "' Cliff