Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!bcm!dimacs.rutgers.edu!seismo!uunet!mcsun!ukc!warwick!cudcv From: cudcv@warwick.ac.uk (Rob McMahon) Newsgroups: comp.unix.misc Subject: Re: prompt question Message-ID: <1991Feb12.155825.14230@warwick.ac.uk> Date: 12 Feb 91 15:58:25 GMT References: <1991Feb8.003607.10413@odin.corp.sgi.com> Sender: news@warwick.ac.uk (Network news) Organization: Computing Services, Warwick University, UK Lines: 13 In article barnett@crdgw1.ge.com writes: >alias EnterDir 'if ( -f "$thisdir/$CDENTER" && -o "$thisdir/$CDENTER" ) source $thisdir/$CDENTER' >alias ExitDir 'if ( -f "$thisdir/$CDEXIT" && -o "$thisdir/$CDEXIT" ) source $thisdir/$CDEXIT' > >As long as the file isn't group or world writable, that is. ... and provided you're not on a system where mortals can chown that is ... Rob -- UUCP: ...!mcsun!ukc!warwick!cudcv PHONE: +44 203 523037 JANET: cudcv@uk.ac.warwick INET: cudcv@warwick.ac.uk Rob McMahon, Computing Services, Warwick University, Coventry CV4 7AL, England