From 6e33197827ec6665c8cbf4996d3e0fa554c3bd2d Mon Sep 17 00:00:00 2001 From: frozen_dude Date: Mon, 29 Jul 2013 20:27:31 +0200 Subject: [PATCH] Small derp --- lib/misc.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/misc.zsh b/lib/misc.zsh index 3f23b1733..5a3382fcd 100644 --- a/lib/misc.zsh +++ b/lib/misc.zsh @@ -13,7 +13,7 @@ export PAGER="less" export LESS="-R" ## how to interpret text characters -if [[ -z "$LC_CTYPE" -a -z "$LC_ALL" ]]; then # only define if undefined +if [[ -z "$LC_CTYPE" && -z "$LC_ALL" ]]; then # only define if undefined export LC_CTYPE=${LANG%%:*} # pick the first entry from LANG [[ -z "$LC_CTYPE" ]] && \ export LC_CTYPE=`locale -a | grep en_US.utf8 | head -1`