1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-22 05:40:08 +00:00

Temporarily delete over-engineered solution

This commit is contained in:
Marc Cornellà 2015-02-09 18:57:23 +01:00
parent 448e966129
commit 0edf416bea

View file

@ -16,14 +16,7 @@ alias please='sudo'
## more intelligent acking for ubuntu users
alias afind='ack-grep -il'
## how to interpret text characters
if [[ -z "$LC_CTYPE" && -z "$LC_ALL" ]]; then # only define if undefined
# only define LC_CTYPE if undefined
if [[ -z "$LC_CTYPE" && -z "$LC_ALL" ]]; then
export LC_CTYPE=${LANG%%:*} # pick the first entry from LANG
[[ -z "$LC_CTYPE" ]] && \
export LC_CTYPE=`locale -a | grep en_US.utf8 | head -1`
[[ -z "$LC_CTYPE" ]] && \
export LC_CTYPE=`locale -a | grep en_US | head -1`
[[ -z "$LC_CTYPE" ]] && \
export LC_CTYPE=C # default to internal encoding.
fi