diff options
Diffstat (limited to '.zsh/zprofile/10_locale')
-rw-r--r-- | .zsh/zprofile/10_locale | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/.zsh/zprofile/10_locale b/.zsh/zprofile/10_locale index 0563900..e2902bb 100644 --- a/.zsh/zprofile/10_locale +++ b/.zsh/zprofile/10_locale @@ -38,10 +38,20 @@ if [ -x =locale ]; then _set_locale en_GB.UTF-8 export LANG=en_GB ;; + # named differently on Mac OS X + *en_GB.UTF-8*) + _set_locale en_GB.UTF-8 + export LANG=en_GB + ;; *en_US.utf8*) _set_locale en_US.UTF-8 export LANG=en_US ;; + # named differently on Mac OS X + *en_US.UTF-8*) + _set_locale en_US.UTF-8 + export LANG=en_US + ;; *en_GB.iso885915*) _set_locale en_GB.ISO-8859-15 warn "no utf-8 locale available" @@ -79,6 +89,10 @@ if [ -x =locale ]; then *de_CH.utf8*) _set_regional_locale de_CH.UTF-8 ;; + # named differently on Mac OS X + *de_CH.UTF-8*) + _set_regional_locale de_CH.UTF-8 + ;; *de_CH.iso885915*) _set_regional_locale de_CH.ISO-8859-15 ;; |