Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!shelby!agate!usenet.ins.cwru.edu!odin!chet From: chet@odin.INS.CWRU.Edu (Chet Ramey) Newsgroups: comp.unix.questions Subject: Re: cd function Message-ID: <1991Feb19.135641.8266@usenet.ins.cwru.edu> Date: 19 Feb 91 13:56:41 GMT References: <2PyFX1w163w@wvus.wciu.edu> <15235@smoke.brl.mil> <2023@necisa.ho.necisa.oz.au> Sender: news@usenet.ins.cwru.edu Reply-To: chet@po.CWRU.Edu Organization: Case Western Reserve Univ. Cleveland, Ohio, (USA) Lines: 20 Nntp-Posting-Host: odin.ins.cwru.edu In article <2023@necisa.ho.necisa.oz.au> boyd@necisa.ho.necisa.oz.au (Boyd Roberts) writes: >The V8 shell is the way to go: > > cd() > { [ ... ] > } Bash will do this too: cd () { builtin cd ${1+"$@"} && xtitle $HOST: $PWD } -- Chet Ramey ``Now, somehow we've brought our sins Network Services Group back physically -- and they're Case Western Reserve University pissed.'' chet@ins.CWRU.Edu My opinions are just those, and mine alone.