Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lib/misc.zsh overides LC_CTYPE #425

Closed
twem2 opened this issue Jun 13, 2011 · 2 comments
Closed

lib/misc.zsh overides LC_CTYPE #425

twem2 opened this issue Jun 13, 2011 · 2 comments

Comments

@twem2
Copy link

twem2 commented Jun 13, 2011

lib/misc.zsh overrides the local LC_CTYPE with en_US.UTF-8
If you don't have the en_US.UTF-8 locale installed then this causes errors with some programs (eg svn).
It may also affect users in other ways if they have a different locale as default but en_US.UTF-8

@gwjo
Copy link
Contributor

gwjo commented Jun 14, 2011

I have a fix for this in pull request #291; if you set the LC_CTYPE it won't be overridden by oh-my-zsh

@twem2
Copy link
Author

twem2 commented Jul 31, 2012

So this just bit me again - affecting a production system (LC_CTYPE got forwarded by ssh changing the environment on the remote host, which with the legacy code there broke things in mysterious ways).

My question is why does LC_CTYPE need to be set at all? Whilst there are ways to stop ssh doing this, its not expected behaviour to have LC_CTYPE set behind the scenes (and nobody else seems to have it set).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants