chiark
/
gitweb
/
~mdw
/
profile
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
bash_profile: Don't call `vt-is-UTF8' on a pty.
[profile]
/
bash_profile
diff --git
a/bash_profile
b/bash_profile
index d36c42d18844cfcd9be01de97ddc6c42a2072ce1..08e4e136f11b590fab9dde4ca753d092819e4061 100644
(file)
--- a/
bash_profile
+++ b/
bash_profile
@@
-116,8
+116,8
@@
if [ "$DISPLAY" != "" ]; then
LANG=`mdw-conf x-ctype`
else
: ${LANG=${LC_CTYPE-${LC_ALL-`mdw-conf console-ctype`}}}
- case "$TERM" in
- linux)
+ case "$TERM
,`tty`
" in
+ linux
,/dev/tty*
)
if vt-is-UTF8 >/dev/null 2>&1; then
ctype=.utf8
else