Mailing List Archive

Support open source code!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Simple csh question



On Fri, Dec 01, 2000 at 10:33:16AM +0900, B0Ti wrote:
> Antony Stace wrote:
> > 
> > Hi Folks
> > 
> > Simple question....How do I add another directory to an environment
> > variable with the csh shell.  Ie in bash/ksh I do
> > 
> > PATH=$PATH:<directory I want to add>
> > 
> This is what I have in my .cshrc :
> 
> set path=($path $XP_ROOT/bin/sgi /usr/local/bin)

You can also do:

setenv PATH ${PATH}:/that/extra/dir

Tom.
-- 
Thomas O'Dowd                   Have you had your noop today?
tom@example.com                  http://www.nooper.com


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links