help / color / mirror / code / Atom feed
* vcs_info causing LC_MESSAGES to be unset
@ 2022-11-07 21:48 Jeremy Cantrell
  0 siblings, 0 replies; only message in thread
From: Jeremy Cantrell @ 2022-11-07 21:48 UTC (permalink / raw)
  To: zsh-users

In my zshrc I have the following (among other things):

setopt prompt_subst
autoload -U vcs_info

Before this is executed, `locale` reports my `LC_MESSAGES` to be the
same value as my `LANG`, "en_us.UTF-8". After the first time the
function is called, `LC_MESSAGES` is set to an empty string. I notice
in the function, `LC_MESSAGES` is declared as local for autoexport and
then set to "C".

Why would this be causing it to be an empty string in my environment?
It seems wrong that it should be changing those values for anything
outside of whatever is using it within `vcs_info`.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-11-07 21:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-07 21:48 vcs_info causing LC_MESSAGES to be unset Jeremy Cantrell

Code repositories for project(s) associated with this public inbox


This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).