From 5811927ffe02db312ff81dfe14cadd48ae794b4b Mon Sep 17 00:00:00 2001 From: Mikaela Suomalainen Date: Thu, 25 Sep 2014 15:35:47 +0300 Subject: [PATCH] fix LC_ALL commits 9ba086d862aa29a8fc5d24210d8315f9780bb775 & ca6524346bf08a13e21c3e53c3c6c931d4c65440 According to @nyuszika7h this should work on both Linux and OS X without having that check. --- .environment.MKAYSIGREP | 6 +----- bashrc | 2 +- zshrc | 2 +- 3 files changed, 3 insertions(+), 7 deletions(-) diff --git a/.environment.MKAYSIGREP b/.environment.MKAYSIGREP index 126caf33..418125e4 100644 --- a/.environment.MKAYSIGREP +++ b/.environment.MKAYSIGREP @@ -1,9 +1,5 @@ export EDITOR=vim # MKAYSIGREP MKAYSIGREPENVIRONMENT -if [[ $UNAME != Darwin ]]; then - export LC_ALL=fi_FI.utf8 # MKAYSIGREP # MKAYSIGREPENVIRONMENT -else - export LC_ALL=fi_FI.UTF-8 -fi +export LC_ALL=fi_FI.UTF-8 # MKAYSIGREP # MKAYSIGREPENVIRONMENT export TZ="Europe/Helsinki" # MKAYSIGREP #MKAYSIGREPENVIRONMENT diff --git a/bashrc b/bashrc index 19baf6ac..44624a0d 100644 --- a/bashrc +++ b/bashrc @@ -183,7 +183,7 @@ fi #export EDITOR=vim # MKAYSIGREP MKAYSIGREPENVIRONMENT # Sets locale. You can get list of locales with "locale -a" command. This should be something which ends to .utf8 -#export LC_ALL=fi_FI.utf8 # MKAYSIGREP # MKAYSIGREPENVIRONMENT +#export LC_ALL=fi_FI.UTF-8 # MKAYSIGREP # MKAYSIGREPENVIRONMENT # Sets your timezone. Set in format , or just timezone like UTC. #export TZ="Europe/Helsinki" # MKAYSIGREP #MKAYSIGREPENVIRONMENT diff --git a/zshrc b/zshrc index a58fcdb6..84544c27 100644 --- a/zshrc +++ b/zshrc @@ -117,7 +117,7 @@ fi #export EDITOR=vim # MKAYSIGREP # MKAYSIGREPENVIRONMENT # Sets locale. You can get list of locales with "locale -a" command. This should be something which ends to .utf8 -#export LC_ALL=fi_FI.utf8 # MKAYSIGREP # MKAYSIGREPENVIRONMENT +#export LC_ALL=fi_FI.UTF-8 # MKAYSIGREP # MKAYSIGREPENVIRONMENT # Sets your timezone. Set in format , or just timezone like UTC. # export TZ="Europe/Helsinki" # MKAYSIGREP # MKAYSIGREPENVIRONMENT