由买买提看人间百态

topics

全部话题 - 话题: setproj
(共0页)
r*****o
发帖数: 28
1
来自主题: Unix版 - PATH and newgrp problem
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!
(共0页)