Small derp

This commit is contained in:
frozen_dude 2013-07-29 20:27:31 +02:00
commit 6e33197827

View file

@ -13,7 +13,7 @@ export PAGER="less"
export LESS="-R"
## how to interpret text characters
if [[ -z "$LC_CTYPE" -a -z "$LC_ALL" ]]; then # only define if undefined
if [[ -z "$LC_CTYPE" && -z "$LC_ALL" ]]; then # only define if undefined
export LC_CTYPE=${LANG%%:*} # pick the first entry from LANG
[[ -z "$LC_CTYPE" ]] && \
export LC_CTYPE=`locale -a | grep en_US.utf8 | head -1`