From 6fd9eecf6a175dda1200da9c3ea521b41b653957 Mon Sep 17 00:00:00 2001 From: Dmytro Meleshko Date: Sun, 21 Jul 2019 00:09:32 +0300 Subject: [PATCH] [zsh] remove forced locale settings --- zsh/env.zsh | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/zsh/env.zsh b/zsh/env.zsh index 8ff658c..c951abf 100644 --- a/zsh/env.zsh +++ b/zsh/env.zsh @@ -1,11 +1,6 @@ #!/usr/bin/env zsh -export LANG="en_US.UTF-8" -export LC_ALL="$LANG" - -if [[ -z "$USER" && -n "$USERNAME" ]]; then - export USER="$USERNAME" -fi +export USER="${USER:-$USERNAME}" # find editor export EDITOR="nvim"