bashrc: export $LANG for the stupid Debian UTF-8 problem
This commit is contained in:
parent
f4c51df4a8
commit
4ac33098d6
5
.bashrc
5
.bashrc
|
@ -52,6 +52,11 @@ if [[ "$(uname -s)" == 'Linux' ]]; then
|
|||
export NEEDRESTART_MODE='a'
|
||||
export DEBIAN_FRONTEND='noninteractive'
|
||||
export APT_LISTCHANGES_FRONTEND='none'
|
||||
|
||||
if grep 'ID=debian' /etc/os-release > /dev/null; then
|
||||
LANG="$(grep -v '^# ' /etc/locale.gen | head -n 1 | sed -e 's/ /./')"
|
||||
export LANG
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in New Issue