csh path

Tom Christiansen tchrist at convex.COM
Sat Mar 9 06:08:48 AEST 1991


>From the keyboard of mostek at motcid.UUCP (Frank B. Mostek):
:When I add a new image to a bin directory that is included in my path
:csh environment variable, I have to "re-setenv" the path variable in
:order for the new image to be found.

You can type:

% rehash

instead of resourcing the .cshrc file.

:Why?  Is there a way around this?  When I add a new tool, I have to
:tell everyone to re-source their .cshrc file.  But if I update an image
:file, then the re-sourcing is not necessary.

To avoid it, don't use csh. :-)

--tom



More information about the Comp.unix.questions mailing list