If LANG is empty then set to UTF-8
This commit is contained in:
3
.bashrc
3
.bashrc
@@ -33,6 +33,9 @@ export LSCOLORS="gxfxcxdxbxegedabagacad"
|
|||||||
export PATH="/usr/local/sbin:/usr/sbin:/sbin:$PATH"
|
export PATH="/usr/local/sbin:/usr/sbin:/sbin:$PATH"
|
||||||
export PERL_CPANM_OPT="--mirror http://cpan.nctu.edu.tw/ --mirror http://cpan.cpantesters.org/"
|
export PERL_CPANM_OPT="--mirror http://cpan.nctu.edu.tw/ --mirror http://cpan.cpantesters.org/"
|
||||||
#
|
#
|
||||||
|
if [ -z "${LANG}" ]; then
|
||||||
|
export LANG="en_US.UTF-8"
|
||||||
|
fi
|
||||||
if [ -x /usr/local/bin/most -o -x /usr/bin/most ]; then
|
if [ -x /usr/local/bin/most -o -x /usr/bin/most ]; then
|
||||||
export PAGER="most"
|
export PAGER="most"
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user