Discussion:
setenv
(too old to reply)
c***@CSIC.UMD.EDU
2005-03-02 16:36:35 UTC
Permalink
i know this is
probably long
overdue. is there
any way to have it
stay. everytime i
log on and work on
the project i have
to always type out
the line:

setenv PATH
/usr/local/bochs-2.0.2/bin:$PATH

any way to add it to
some config file or
something so that i
don't have to keep
typing it?
Paul Mazzucco
2005-03-02 11:49:04 UTC
Permalink
Yes, you can edit your ~/.cshrc file (unless you use bash
then I think it's .bashrc or something like that -- in which
case you use export anyway....).

Anyway, my .cshrc file looks like this:

cd projects/project3/build
setenv PATH /usr/local/bochs-2.0.2/bin:$PATH

Loading...