All patches and comments are welcome. Please squash your changes to logical
commits before using git-format-patch and git-send-email to
patches@git.madduck.net.
If you'd read over the Git project's submission guidelines and adhered to them,
I'd be especially grateful.
   3 # Defines locale settings
 
   5 # Copyright © 1994–2008 martin f. krafft <madduck@madduck.net>
 
   6 # Released under the terms of the Artistic Licence 2.0
 
   8 # Source repository: http://git.madduck.net/v/etc/zsh.git
 
  17   _set_regional_locale $1
 
  20 _set_regional_locale()
 
  27   export LC_TELEPHONE=$1
 
  28   export LC_MEASUREMENT=$1
 
  29   export LC_IDENTIFICATION=$1
 
  32 if [ -x =locale ]; then
 
  33   _LOCALE="$(locale -a)"
 
  35   # I prefer British English and UTF-8 over US English and non-UTF-8
 
  38       _set_locale en_GB.UTF-8
 
  42       _set_locale en_US.UTF-8
 
  46       _set_locale en_GB.ISO-8859-15
 
  47       warn "no utf-8 locale available"
 
  51       warn "no utf-8 locale available"
 
  52       _set_locale en_US.ISO-8859-15
 
  56       warn "no utf-8 locale available"
 
  57       _set_locale en_GB.ISO-8859-1
 
  61       warn "no utf-8 locale available"
 
  62       _set_locale en_US.ISO-8859-1
 
  66       warn "no utf-8 or iso locale available"
 
  71       warn "no utf-8 or iso locale available"
 
  77   # regional stuff should be Swiss over German
 
  80       _set_regional_locale de_CH.UTF-8
 
  83       _set_regional_locale de_CH.ISO-8859-15
 
  86       _set_regional_locale de_CH.ISO-8859-1
 
  89       _set_regional_locale de_DE.UTF-8
 
  92       _set_regional_locale de_DE.ISO-8859-15
 
  95       _set_regional_locale de_DE.ISO-8859-1
 
 101 unfunction _set_regional_locale
 
 102 unfunction _set_locale