PATH and newgrp problem# Unix - 噫吁兮,危乎高哉
r*o
1 楼
In my .cshrc, I have a alias setproj = source ~/.setproj
and in .setproj, I have the following:
...
set path = (/proj/newpath $path)
newgrp projgroup
But when I run 'setproj' in CSHELL, the new PATH is not added, I guess its'
because of the newgrp doee not export PATH to new shell, how do I get around
it?
Thanks!
and in .setproj, I have the following:
...
set path = (/proj/newpath $path)
newgrp projgroup
But when I run 'setproj' in CSHELL, the new PATH is not added, I guess its'
because of the newgrp doee not export PATH to new shell, how do I get around
it?
Thanks!