data: Fix locale setup in SetupEnvironment and remove it from etc/profile.

These changes were made to etc/profile by PulkoMandy last year, but he missed
making the change in SetupEnvironment. etc/profile calls SetupEnvironment,
so we can consolidate all this there.

Also clean up some syntax.
This commit is contained in:
Augustin Cavalier
2018-08-21 17:01:53 -04:00
parent 5174b9e8d1
commit bddcee2a27
2 changed files with 6 additions and 17 deletions
-8
View File
@@ -22,14 +22,6 @@ fi
export HISTFILESIZE=500
export HISTCONTROL=ignoredups
# Locale
export LC_MESSAGES=`locale --message`
export LC_NUMERIC=`locale --format`
export LC_TIME=`locale --time`
export LC_COLLATE=$LC_MESSAGES
export LC_CTYPE=$LC_MESSAGES
export LC_MONETARY=$LC_NUMERIC
alias ls="ls --color=auto"
alias ll="ls -lA"
alias la="ls -A"