~mdw
/
profile
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
zile: Yet another editor configuration.
[profile]
/
bash_profile
diff --git
a/bash_profile
b/bash_profile
index
f0ca782
..
7523cfc
100644
(file)
--- a/
bash_profile
+++ b/
bash_profile
@@
-94,7
+94,7
@@
emacs_startup_args="--no-site-file --mdw-fast-startup -nw"
for ed in \
"emacs22 $emacs_startup_args" \
"emacs21 $emacs_startup_args" \
for ed in \
"emacs22 $emacs_startup_args" \
"emacs21 $emacs_startup_args" \
- mg \
+
zile
mg \
"emacs -nw" \
vi pico nano ae; do
name=`echo $ed | sed 's/ .*$//'`
"emacs -nw" \
vi pico nano ae; do
name=`echo $ed | sed 's/ .*$//'`
@@
-117,9
+117,14
@@
if [ "$DISPLAY" = "" ]; then
else
LC_CTYPE=`mdw-conf x-ctype`
fi
else
LC_CTYPE=`mdw-conf x-ctype`
fi
-unset LANG LC_ALL
LC_COLLATE
+unset LANG LC_ALL
export LC_CTYPE
export LC_CTYPE
+for lc in TIME NUMERIC MONETARY PAPER NAME ADDRESS TELEPHONE MEASUREMENT; do
+ eval "export LC_$lc=$LC_CTYPE"
+done
+export LC_COLLATE=POSIX
+
__mdw_programp distcc && export CCACHE_PREFIX=distcc
export TEXINPUTS=".:$HOME/lib/tex//:"
__mdw_programp distcc && export CCACHE_PREFIX=distcc
export TEXINPUTS=".:$HOME/lib/tex//:"
@@
-145,10
+150,11
@@
export PAGER=`type -p less` METAMAIL_PAGER=`type -p less`
export LESS="-iqgRh1FX"
export LESSOPEN="|lesspipe.sh %s"
case "$LC_CTYPE" in
export LESS="-iqgRh1FX"
export LESSOPEN="|lesspipe.sh %s"
case "$LC_CTYPE" in
- *utf8
*
) LESSCHARSET=utf-8 ;;
+ *utf8
| *utf-8 | *UTF8 | *UTF-8
) LESSCHARSET=utf-8 ;;
*) LESSCHARSET=latin1 ;;
esac
export LESSCHARSET
*) LESSCHARSET=latin1 ;;
esac
export LESSCHARSET
+__mdw_programp global && export LESSGLOBALTAGS=global
export NCURSES_NO_UTF8_ACS=1
# export MAKEFLAGS="-j4"
[ "$TMPDIR" ] || eval `tmpdir -b`
export NCURSES_NO_UTF8_ACS=1
# export MAKEFLAGS="-j4"
[ "$TMPDIR" ] || eval `tmpdir -b`