aboutsummaryrefslogtreecommitdiffstats
path: root/lang.csh
diff options
context:
space:
mode:
Diffstat (limited to 'lang.csh')
-rwxr-xr-xlang.csh13
1 files changed, 13 insertions, 0 deletions
diff --git a/lang.csh b/lang.csh
index 69d67afc..999b5c04 100755
--- a/lang.csh
+++ b/lang.csh
@@ -59,6 +59,19 @@ if ($sourced == 1) then
breaksw
endsw
endif
+ if ($?LANG) then
+ switch ($LANG)
+ case *.utf8;
+ if ( $?TERM ) then
+ if ( "$TERM" == "linux" ) then
+ if ( `/sbin/consoletype` == "vt" ) then
+ unicode_start
+ endif
+ endif
+ endif
+ breaksw
+ endsw
+ endif
unsetenv SYSFONTACM
unsetenv SYSFONT
endif