Export LC only when needed
and locale is available
This commit is contained in:
parent
2505c4ea56
commit
a70448b505
1 changed files with 18 additions and 14 deletions
|
@ -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}";
|
||||
|
|
Reference in a new issue