Revision 8717,
794 bytes
checked in by daisuke, 9 years ago
(diff) |
add initial version
|
Line | |
---|
1 | # /etc/csh.login |
---|
2 | |
---|
3 | # System wide environment and startup programs, for login setup |
---|
4 | |
---|
5 | if ( $?PATH ) then |
---|
6 | #do not override user specified PATH |
---|
7 | else |
---|
8 | if ( $uid == 0 ) then |
---|
9 | setenv PATH "/sbin:/usr/sbin:/usr/local/sbin:/bin:/usr/bin:/usr/local/bin" |
---|
10 | else |
---|
11 | setenv PATH "/bin:/usr/bin:/usr/local/bin:/sbin:/usr/sbin:/usr/local/sbin" |
---|
12 | endif |
---|
13 | endif |
---|
14 | |
---|
15 | setenv HOSTNAME `/bin/hostname` |
---|
16 | set history=1000 |
---|
17 | |
---|
18 | if ( -d /etc/profile.d ) then |
---|
19 | set nonomatch |
---|
20 | foreach i ( /etc/profile.d/*.csh ) |
---|
21 | if ( -r "$i" ) then |
---|
22 | if ($?prompt) then |
---|
23 | source "$i" |
---|
24 | else |
---|
25 | source "$i" >& /dev/null |
---|
26 | endif |
---|
27 | endif |
---|
28 | end |
---|
29 | unset i nonomatch |
---|
30 | endif |
---|
Note: See
TracBrowser
for help on using the repository browser.