searchpath

John M. Sellens jmsellens at watdragon.waterloo.edu
Fri Sep 8 05:05:17 AEST 1989


In article <6286 at watdcsu.waterloo.edu> pfratar at watdcsu.waterloo.edu (Paul Frattaroli - Department of Computing Services) writes:
>Alias commands of this sort can be put in your .login file or .cshrc
>( or .profile if you like Bourne ).  They will be evaluated and put in
>the environment each time you logon.
The Bourne shell doesn't have aliases.  Aliases aren't put in the environment,
so if you define them in .login, any non-login shells (e.g. rsh, shell escapes
from vi) will not have those aliases defined.  It's usually best to define
aliases in .cshrc.

>You could edit your .login or .cshrc file ( which ever contains
>
>	"set PATH= blah blah blah" )
>
>and put "~/bin" first.

Don't forget - if you want to ever be able to use MFCF supported software,
you *must* use searchpath or the even better showpath.  If you don't,
be prepared for much heartache and untold mental anguish.



More information about the Comp.unix mailing list