Commit 0edf416b authored by Marc Cornellà's avatar Marc Cornellà
Browse files

Temporarily delete over-engineered solution

parent 448e9661
...@@ -16,14 +16,7 @@ alias please='sudo' ...@@ -16,14 +16,7 @@ alias please='sudo'
## more intelligent acking for ubuntu users ## more intelligent acking for ubuntu users
alias afind='ack-grep -il' alias afind='ack-grep -il'
## how to interpret text characters # only define LC_CTYPE if undefined
if [[ -z "$LC_CTYPE" && -z "$LC_ALL" ]]; then # only define if undefined if [[ -z "$LC_CTYPE" && -z "$LC_ALL" ]]; then
export LC_CTYPE=${LANG%%:*} # pick the first entry from LANG 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 fi
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment