summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMarc Cornellà <marc.cornella@live.com>2019-08-19 18:17:17 +0200
committerGitHub <noreply@github.com>2019-08-19 18:17:17 +0200
commite604eaf55e1c5b19035778c0e0adb0dd6e344b94 (patch)
tree851d13bd6fc4284f40529d943d3daaabe6520bc6 /lib
parent1908f7bddcacdfb18a5a4b1c883f0c405d1660a8 (diff)
downloadzsh-e604eaf55e1c5b19035778c0e0adb0dd6e344b94.tar.gz
zsh-e604eaf55e1c5b19035778c0e0adb0dd6e344b94.tar.bz2
zsh-e604eaf55e1c5b19035778c0e0adb0dd6e344b94.zip
lib: delete LC_CTYPE locale setting which causes problems
Fixes #7942
Diffstat (limited to 'lib')
-rw-r--r--lib/misc.zsh5
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/misc.zsh b/lib/misc.zsh
index 40ffa479d..36c3ae2e5 100644
--- a/lib/misc.zsh
+++ b/lib/misc.zsh
@@ -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