From dbc6bffe3c86152ee39fce52f823d4d5333f50fa Mon Sep 17 00:00:00 2001 From: Fabian Homborg Date: Tue, 11 May 2021 21:53:58 +0200 Subject: [PATCH] __fish_set_locale: Ignore $LANGUAGE This isn't really a "locale" variable as such. It has no effect on encoding and stuff, it's just the output language. What we really want here is get something better than the awkward "C" or "POSIX" for LC_CTYPE specifically - everything else doesn't really matter. --- share/functions/__fish_set_locale.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/functions/__fish_set_locale.fish b/share/functions/__fish_set_locale.fish index 597e4a014..75c090597 100644 --- a/share/functions/__fish_set_locale.fish +++ b/share/functions/__fish_set_locale.fish @@ -10,7 +10,7 @@ function __fish_set_locale set -l LOCALE_VARS - set -a LOCALE_VARS LANG LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE + set -a LOCALE_VARS LANG LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE set -a LOCALE_VARS LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS set -a LOCALE_VARS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION