cdpath

Stefan Farestam farestam at ORION.CERFACS.FR
Sun Jun 30 11:14:48 AEST 1991


   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    <farestam at cerfacs.fr>              .
.   __ __  __ _  _ _                                                  .
.  /  |_ )|_ /_\/ (          European Centre for Research and         .
 . \_ |__\| /   \__)    Advanced Training in Scientific Computation  .
   .................................................................  



More information about the Comp.sys.sgi mailing list