Archived
1
0
Fork 0

Export LC only when needed

and locale is available
This commit is contained in:
J. Elfring (x) 2020-12-12 23:15:05 +01:00
parent 2505c4ea56
commit a70448b505

View file

@ -16,6 +16,9 @@ export HISTCONTROL=ignoredups;
export HISTIGNORE=" *:ls:cd:cd -:pwd:exit:date:&::[bf]g:exit:pwd:clear:mplayer";
# Deutsches System aber englische Messages und Sortierung
# aber nur wenn die locale gesetzt werden kann
if [ -x /usr/bin/locale ]
then
export LC_MESSAGES="en_US.UTF-8"
export LC_COLLATE="C"
export LANG="de_DE.UTF-8"
@ -30,6 +33,7 @@ export LC_TELEPHONE="de_DE.UTF-8"
export LC_MEASUREMENT="de_DE.UTF-8"
export LC_IDENTIFICATION="de_DE.UTF-8"
unset LC_ALL
fi
# Highlight section titles in manual pages
export LESS_TERMCAP_md="${yellow}";