aboutsummaryrefslogtreecommitdiff
path: root/internal/wizard.zsh
diff options
context:
space:
mode:
authorromkatv <roman.perepelitsa@gmail.com>2020-02-05 14:50:51 +0300
committerromkatv <roman.perepelitsa@gmail.com>2020-02-05 14:50:58 +0300
commita12f7ac8eefd47cd9b58b0ff77c576e194029a0c (patch)
tree212b309b99ab0772624d18ce2a27bc16cb15b8f6 /internal/wizard.zsh
parent47e8c1b38cf8f643f6540c3c1d4f297cfe708891 (diff)
when the user's locale is misconfigured, set it to utf8 at the top level
fixes #469
Diffstat (limited to 'internal/wizard.zsh')
-rwxr-xr-xinternal/wizard.zsh7
1 files changed, 0 insertions, 7 deletions
diff --git a/internal/wizard.zsh b/internal/wizard.zsh
index 016ab84e..66150bb0 100755
--- a/internal/wizard.zsh
+++ b/internal/wizard.zsh
@@ -1,10 +1,3 @@
-zmodload zsh/langinfo
-if [[ ${langinfo[CODESET]:-} != (utf|UTF)(-|)8 ]]; then
- local LC_ALL=${${(@M)$(locale -a):#*.(utf|UTF)(-|)8}[1]:-en_US.UTF-8}
-fi
-
-zmodload -F zsh/files b:zf_mv b:zf_rm
-
local -i force=0
local opt