X-Git-Url: https://git.madduck.net/etc/zsh.git/blobdiff_plain/ecae1be920d3ca90fef53cfb36e6d1ace423fafe..e45b0db3d66ca9e041622db3d801d026fb4d3724:/.zsh/zprofile/10_locale diff --git a/.zsh/zprofile/10_locale b/.zsh/zprofile/10_locale index bb708e1..4f37e09 100644 --- a/.zsh/zprofile/10_locale +++ b/.zsh/zprofile/10_locale @@ -2,10 +2,10 @@ # # Defines locale settings # -# Copyright © 1994–2008 martin f. krafft +# Copyright © 1994–2017 martin f. krafft # Released under the terms of the Artistic Licence 2.0 # -# Source repository: git://git.madduck.net/etc/zsh.git +# Source repository: http://git.madduck.net/v/etc/zsh.git # _set_locale() @@ -94,17 +94,8 @@ if [ -x =locale ]; then ;; esac - # regional stuff should be Swiss over German + # regional stuff should be German case "$_LOCALE" in - *de_CH.utf8*) - _set_regional_locale de_CH.UTF-8 - ;; - *de_CH.iso885915*) - _set_regional_locale de_CH.ISO-8859-15 - ;; - *de_CH.iso88591*) - _set_regional_locale de_CH.ISO-8859-1 - ;; *de_DE.utf8*) _set_regional_locale de_DE.UTF-8 ;; @@ -114,6 +105,15 @@ if [ -x =locale ]; then *de_DE.iso88591*) _set_regional_locale de_DE.ISO-8859-1 ;; + *de_CH.utf8*) + _set_regional_locale de_CH.UTF-8 + ;; + *de_CH.iso885915*) + _set_regional_locale de_CH.ISO-8859-15 + ;; + *de_CH.iso88591*) + _set_regional_locale de_CH.ISO-8859-1 + ;; esac unset _LOCALE fi