File Completion and Need Help with Prompt

cliff bedore cliffb at cjbsys.bdb.com
Mon Jan 21 23:36:31 AEST 1991


In article <1991Jan19.225146.23909 at hellgate.utah.edu> u-mwong%peruvian.utah.edu at 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 at 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



More information about the Comp.unix.xenix.sco mailing list