Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!ukma!usenet.ins.cwru.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!ucbvax!ORION.CERFACS.FR!farestam From: farestam@ORION.CERFACS.FR (Stefan Farestam) Newsgroups: comp.sys.sgi Subject: cdpath Message-ID: <9106300114.AA08822@ultima.cerfacs.fr> Date: 30 Jun 91 01:14:48 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 29 cdpath works on a PI with IRIX 3.3.1. suppose you do: set cdpath = $HOME and your home directory contains the directories "private" and "public", then you should in theory be able to do "cd privaet" or "cd public" regardless of in which directory you are. The directory defined in cdpath, however, you cannot cd to, because cdpath defines the directories that are searched when you do cd. My own cdpathlooks like: set cdpath = (.. $HOME/{,public,private/{,cu,div,docs,test}}) .. is very useful to have in your cdpath. I guess one could also have ../.. /Stefan ................................................................. . Stefan Farestam . . __ __ __ _ _ _ . . / |_ )|_ /_\/ ( European Centre for Research and . . \_ |__\| / \__) Advanced Training in Scientific Computation . .................................................................