Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!isavax.isa.com!cjbsys!cliffb From: cliffb@cjbsys.bdb.com (cliff bedore) Newsgroups: comp.unix.xenix.sco Subject: Re: File Completion and Need Help with Prompt Message-ID: <1991Jan21.123631.6996@cjbsys.bdb.com> Date: 21 Jan 91 12:36:31 GMT References: <1991Jan19.225146.23909@hellgate.utah.edu> Organization: BDB Systems Lines: 19 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