~mdw
/
profile
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
backgrounds: Add two more for the collection.
[profile]
/
bash_profile
diff --git
a/bash_profile
b/bash_profile
index
7488133
..
37ed0ea
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`}}}
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
if vt-is-UTF8 >/dev/null 2>&1; then
ctype=.utf8
else
@@
-155,10
+155,10
@@
export P4PORT=`mdw-conf p4-port` P4USER=`mdw-conf p4-user`
export BECOME="--preserve-environment"
export BECOME="--preserve-environment"
-export
PAGER=`type -p less` METAMAIL_PAGER=`type -p less`
+export
MDW_PAGER=`type -p less` PAGER=mdw-pager METAMAIL_PAGER=mdw-pager
export LESS="-iqgRh1FX"
export LESSOPEN="|lesspipe.sh %s"
export LESS="-iqgRh1FX"
export LESSOPEN="|lesspipe.sh %s"
-case "$
LC_CTYPE
" in
+case "$
{LC_CTYPE-$LANG}
" in
*utf8 | *utf-8 | *UTF8 | *UTF-8) LESSCHARSET=utf-8 ;;
*) LESSCHARSET=latin1 ;;
esac
*utf8 | *utf-8 | *UTF8 | *UTF-8) LESSCHARSET=utf-8 ;;
*) LESSCHARSET=latin1 ;;
esac