Re: Useful Features?
Manage your shell environment variables and aliases
Brought to you by:
leomania,
xdelaruelle
From: J. P. <J....@Qu...> - 1996-10-30 02:04:47
|
dpi said; > Why sould one put the path-things in .cshrc? I thought, the value of > PATH in a further shell is the same as in the login shell? There are a number of situations where shells are not started from a login shell and so they can't inherit the PATH. The most common of these occurs when using remsh (rsh), where a correct path on the remote machine may be essential. There might also be problems in some X11 environments etc. I believe that just about everyone recommends placing vital environment variables in .(t)cshrc. The way I look at it is that .login only performs things that are required once per login (like checking mail, launching processes etc.) but the rc file sets up everything that is required for *every* invocation of that shell (The rc file should not write to STDOUT however). Likewise this is where the module calls should go too. John P. |