Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!agate!e260-3a.berkeley.edu!laba-3hd From: laba-3hd@e260-3a.berkeley.edu (Sam Shen) Newsgroups: comp.unix.wizards Subject: Re: Csh prompt problem Summary: I thought of the answer about 2 hours after I posted Keywords: csh prompt glob cd Message-ID: <20008@agate.BERKELEY.EDU> Date: 6 Feb 89 11:24:16 GMT References: <20005@agate.BERKELEY.EDU> Sender: usenet@agate.BERKELEY.EDU Organization: University of California, Berkeley Lines: 15 (I wrote in a previous article about how I keep the current directory in my prompt and if I cd into a directory named * I get a wildcard expanded prompt.) I worked on this for about 45 mins several days ago and, believe it or not, silly me thought of the answer about 2 hours after I posted. Oops. Anyhow, if I do alias cd "set noglob; chdir \!*; prom; unset noglob" It works. It has to be chdir by the way. If it's cd then the csh thinks it's an Alias Loop. Sam Shen laba-3hd@web.berkeley.edu