aboutsummaryrefslogtreecommitdiffstats
path: root/lang.csh
diff options
context:
space:
mode:
Diffstat (limited to 'lang.csh')
-rwxr-xr-xlang.csh12
1 files changed, 7 insertions, 5 deletions
diff --git a/lang.csh b/lang.csh
index 316de43e..333463f7 100755
--- a/lang.csh
+++ b/lang.csh
@@ -75,11 +75,13 @@ if ($sourced == 1) then
if ( "$TERM" == "linux" ) then
if ( `/sbin/consoletype` == "vt" ) then
if ( -x /bin/unicode_start ) then
- if ( $?SYSFONT ) then
- if ( $?SYSFONTACM ) then
- unicode_start $SYSFONT $SYSFONTACM
- else
- unicode_start $SYSFONT
+ if { /sbin/consoletype fg } then
+ if ( $?SYSFONT ) then
+ if ( $?SYSFONTACM ) then
+ unicode_start $SYSFONT $SYSFONTACM
+ else
+ unicode_start $SYSFONT
+ endif
endif
endif
endif