aboutsummaryrefslogtreecommitdiffstats
path: root/env.zsh
diff options
context:
space:
mode:
Diffstat (limited to 'env.zsh')
-rw-r--r--env.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/env.zsh b/env.zsh
index 2956f63..d3d2283 100644
--- a/env.zsh
+++ b/env.zsh
@@ -14,7 +14,7 @@ if [[ "$VALIDATE_LANG" != "false" ]]; then
if [[ "$LANG" == "" ]] || [[ "$LANG" == "C" ]]; then
# Modern systems will have UTF-8 everywhere outside of a TTY.
# Login Shells are the only shell likely to be a TTY (although theoretically other shells could also be login shells, but like idc if 1% of thigns break).
- if [[ "$-" == *l* ]]; then
+ if [[ "$-" != *l* ]]; then
export LANG="C.UTF-8"
else
export LANG="C"