blob: 498fd12ae03dee9cf6174736d9a63ce1fab27b70 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# /etc/profile.d/lang.csh - set i18n stuff
set sourced=0
foreach file (/etc/sysconfig/i18n $HOME/.i18n)
if ( -f $file ) then
eval `sed 's|\([^=]*\)=\([^=]*\)|setenv \1 \2|g' $file | sed 's|$|;|' `
endif
set sourced=1
end
if ($sourced == 1) then
if ($?LC_ALL && $?LANG) then
if ($LC_ALL == $LANG) then
unsetenv LC_ALL
endif
endif
if ($?LINGUAS && $?LANG) then
if ($LINGUAS == $LANG) then
unsetenv LINGUAS
endif
endif
endif
|