zplug / installer

:inbox_tray: zplug installer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Installer fails if locale setting is incorrect.

niyaton opened this issue · comments

Installer script will fail and output nothing to resolve problem if locale setting is incorrect.
I tried zplug in ubuntu on Docker but docker container does not set locale to output UTF-8 characters as a default setting.
In latest ubuntu container that just installed zsh, the installer will fail and output following message.

$ curl -sL zplug.sh/installer | zsh
 #
$

I think just printing "incorrect locale settings" is more convenient to solve this problem by each user.

Thanks for reporting. Please tell us your locale setting.

Just ran into the same problem. My locale in debian:stable is:

LANG=
LANGUAGE=
LC_CTYPE="POSIX"
LC_NUMERIC="POSIX"
LC_TIME="POSIX"
LC_COLLATE="POSIX"
LC_MONETARY="POSIX"
LC_MESSAGES="POSIX"
LC_PAPER="POSIX"
LC_NAME="POSIX"
LC_ADDRESS="POSIX"
LC_TELEPHONE="POSIX"
LC_MEASUREMENT="POSIX"
LC_IDENTIFICATION="POSIX"
LC_ALL=

Ran into the same problem on OSX Sierra 10.12.5 (16F73).

Locales:

LANG=
LC_COLLATE="C"
LC_CTYPE="C"
LC_MESSAGES="C"
LC_MONETARY="C"
LC_NUMERIC="C"
LC_TIME="C"
LC_ALL=

The installer command just says Checking if zsh version is newer than ... and does nothing.
My zsh version is zsh 5.3.1 (x86_64-apple-darwin16.3.0).