Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: [PATCH] avoid localized output from external commands in a few completion



Bart Schaefer wrote on Mon, 25 Dec 2017 17:04 -0800:
> On Mon, Dec 25, 2017 at 3:40 PM, Jun T. <takimoto-j@xxxxxxxxxxxxxxxxx> wrote:
> > In some recent Linux distributions, output from commands
> > like 'nm --help' is localized and can't be analyzed correctly
> > by completion scripts. We need to reset LC_MESSAGES.
> 

That won't help if LC_ALL is set.  Shouldn't we just set LC_ALL=C, or
use _comp_locale?

> Perhaps this is something that would better be done by _main_complete?
>  Aren't other commands likely to become localized in the future?

(No opinion; I use English.)



Messages sorted by: Reverse Date, Date, Thread, Author