diff --git a/home/dotfiles/zshrc b/home/dotfiles/zshrc index 7660d86..b90ba9a 100644 --- a/home/dotfiles/zshrc +++ b/home/dotfiles/zshrc @@ -55,11 +55,17 @@ if [ -d "$HOME/Library/Python/2.7" ]; then PATH="$HOME/Library/Python/2.7/bin:$PATH" export PATH fi -if [ -z "$LC_ALL" ]; then - export LC_ALL=en_US.UTF-8 -fi -if [ -z "$LANG" ]; then - export LANG=en_US.UTF-8 +section_end + +# Locale fix +section "locale fix" +if [ "$(uname -s)" = "Darwin" ]; then + if [ -z "$LC_ALL" ]; then + export LC_ALL=C + fi + if [ -z "$LANG" ]; then + export LANG=C + fi fi section_end