From: Simon Ruderich Date: Sat, 6 Jul 2013 14:49:31 +0000 (+0200) Subject: shell/env: Unset LANGUAGE. X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=51075c34517cc53075b4249e985343486d476ce7;p=config%2Fdotfiles.git shell/env: Unset LANGUAGE. --- diff --git a/crontab.d/update.sh b/crontab.d/update.sh index 05519bb..062c34e 100755 --- a/crontab.d/update.sh +++ b/crontab.d/update.sh @@ -52,9 +52,8 @@ echo "###################################" >> "$CRONTAB" echo >> "$CRONTAB" echo "# It was generated from '$DIRECTORY/*' on `date -R`." >> "$CRONTAB" -# Enforce C sort order ($LANGUAGE is a GNU extension). +# Enforce C sort order. LC_ALL=C -LANGUAGE=C NO_MATCHES= for file in "$DIRECTORY"/crontab.*; do diff --git a/shell/env b/shell/env index f11e687..2c81633 100644 --- a/shell/env +++ b/shell/env @@ -25,6 +25,10 @@ source_debug ". ~/.shell/env" LANG=en_US.UTF-8 export LANG +# Make sure $LANGUAGE is not set. It's a GNU extension which can overwrite +# variables like $LANG or $LC_ALL. +unset LANGUAGE + # Add ~/bin and ~/.bin and ~/.shell/bin to PATH if available. if test -d "$HOME/.shell/bin"; then PATH="$HOME/.shell/bin:$PATH"