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

lib: delete LC_CTYPE locale setting which causes problems

Fixes #7942
This commit is contained in:
Marc Cornellà 2019-08-19 18:17:17 +02:00 committed by GitHub
parent 1908f7bddc
commit e604eaf55e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -31,10 +31,5 @@ else
alias afind='ack -il'
fi
# only define LC_CTYPE if undefined
if [[ -z "$LC_CTYPE" && -z "$LC_ALL" ]]; then
export LC_CTYPE=${LANG%%:*} # pick the first entry from LANG
fi
# recognize comments
setopt interactivecomments