summaryrefslogtreecommitdiff
blob: e45a3b02f243db70ea0259515f5b824dfc5036e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# system-wide csh.cshrc

if (-e /etc/csh.env) then
	source /etc/csh.env
endif

if ($USER == "root") then
	setenv PATH "/bin:/sbin:/usr/bin:/usr/sbin:$ROOTPATH"
	#077 would be more secure, but 022 is generally quite realistic
	umask 022
else
	set path = (/bin /usr/bin $path)
	umask 022
endif

unsetenv ROOTPATH