Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [PATCH] avoid localized output from external commands in a few completion
- X-seq: zsh-workers 42170
- From: Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Re: [PATCH] avoid localized output from external commands in a few completion
- Date: Tue, 26 Dec 2017 01:19:53 +0000
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= daniel.shahaf.name; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=ZrQGJi R6NaIGsVRTGSvoj9JQ8kIKBCQW3GhhCUp6F7c=; b=bhsh/asSkD+JuqnQmcqeEV jqPB4fSwsxNxs1APHM1VhLVOZg5igUH95yzvJksq92SrjKCxc2T617/ITQvlA9JZ VUQENkNCrCgoTojXqTKpe0n/MHJrX7snCBgaYQxGZtmuULXyXWygGYuslgfM222d 89iIU5KyICBDR7IN140ysv+EiFoVLvvDBgEwc9kT5Khy5grtlZw3faeUJBkPgDup aF0AMOGsggNLCXz8dXTqG/mkdZYNHp3AgePDe51JuxgucB05p7LZ6T4I2bCiDcO4 H3Z2dmWju2xa1JMKXKD8dsfeii6YPvzO1jZXy3i7VgrxcGxKjNt+xAbro9cXCTAQ ==
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=ZrQGJi R6NaIGsVRTGSvoj9JQ8kIKBCQW3GhhCUp6F7c=; b=gvVQ9bX+5D7fylcg87NjQT zFD2uqgNGIBmLVwp9rzQ4N1LsdOnslIv2XNVN9wSrCNoBykxXblILJ6+JQL4Zl8W xaBs0jY5hj7PcbPPIPeYiKdIx8Z6rWI6B+pPFc274Lw3G8eKWZ4BaLI1Oeo+rPPE JZMGZ1N959+btGAM1TW9oULlNiNnYzbn04OM2xB7gLFoGbSqMm5URU0M3mS1mLL8 VxHO9X5JRWc+E/HTG4f5QICO8P+R/zCksunlwt9/bqFIDrOTqkcn7TYYdDwM0jqV rbeNGfGeQGA3HVYOaYvGWXXS4QskkYmRvCObwePpTUjUiTnUfowaKoC2zlSB8GgA ==
- In-reply-to: <CAH+w=7aUjEguoKn2uLkXkqSGHw-xCTucJ3WXx+dcqR-rM8nGpw@mail.gmail.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- List-unsubscribe: <mailto:zsh-workers-unsubscribe@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <42959CB1-DB49-474F-86DA-DD4C08D1CE43@kba.biglobe.ne.jp> <CAH+w=7aUjEguoKn2uLkXkqSGHw-xCTucJ3WXx+dcqR-rM8nGpw@mail.gmail.com>
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