mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-01-18 21:02:48 +08:00
Use /etc/sysconfig/i18n file if it exists to set up correct locale
darcs-hash:20060111142340-ac50b-b0483ffd46eb6eb31defbd69b821fc088ff30004.gz
This commit is contained in:
parent
d4034fc253
commit
72bb5ae06f
|
@ -41,6 +41,10 @@ if status --is-login
|
|||
if not set -q LANG >/dev/null
|
||||
set -gx LANG en_US.UTF-8
|
||||
end
|
||||
|
||||
if test -f /etc/sysconfig/i18n
|
||||
eval (cat /etc/sysconfig/i18n |sed -ne 's/^\([a-zA-Z]*\)=\(.*\)$/set -gx \1 \2;/')
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user