]> git.madduck.net Git - etc/zsh.git/blobdiff - .zsh/zprofile/10-locales

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

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.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

Overhaul of the entire config. Yay for big diffs.
[etc/zsh.git] / .zsh / zprofile / 10-locales
similarity index 98%
rename from .zsh/zprofile/10_locale
rename to .zsh/zprofile/10-locales
index 4f37e091a20394aba18f7cb654c47f8c3bca3e86..ef23bf109f1175b051dd8ab6415657d2d83dfa97 100644 (file)
@@ -1,4 +1,3 @@
-# zprofile/10_locale
 #
 # Defines locale settings
 #
@@ -118,7 +117,7 @@ if [ -x =locale ]; then
   unset _LOCALE
 fi
 
-export LANGUAGE="${LANG}:en"
+export LANGUAGE="${LANG}:${LANG%_*}"
 
 unfunction _set_regional_locale
 unfunction _set_locale