$LANG variable
How do i set the $LANG variable without using export? I have set my locale.conf to LANG=en_US.UTF-8 but LANG is still always set to en_US which is not valid. I'd prefer not to use .bashrc or /etc/. Thanks in advance!
$LANG
export
LANG=en_US.UTF-8
LANG
en_US
.bashrc
/etc/
localectl set-locale LANG=en_US.UTF-8
I've solved it by running g eselect locale set x with x being the locale. Thanks for your contribution.
eselect locale set x
I'm using openrc
Nevermind somehow it was set back
https://wiki.gentoo.org/wiki/Localization/Guide
This has solved it ultimately.
Why no export, bashrc, or /etc ?
If something else is setting it as en_US, then I don't want a conflict.