e604eaf55e1c5b19035778c0e0adb0dd6e344b94

Author
Marc Cornellà <marc.cornella@live.com>
Committer
GitHub <noreply@github.com>
Date

Message

lib: delete LC_CTYPE locale setting which causes problems

Fixes #7942

Diff

 1diff --git a/lib/misc.zsh b/lib/misc.zsh
 2index 40ffa479da106a4797b47eb77885506c933f3657..36c3ae2e5c7aee503286207991384a1484e2be55 100644
 3--- a/lib/misc.zsh
 4+++ b/lib/misc.zsh
 5@@ -31,10 +31,5 @@ else
 6   alias afind='ack -il'
 7 fi
 8 
 9-# only define LC_CTYPE if undefined
10-if [[ -z "$LC_CTYPE" && -z "$LC_ALL" ]]; then
11-	export LC_CTYPE=${LANG%%:*} # pick the first entry from LANG
12-fi
13-
14 # recognize comments
15 setopt interactivecomments