summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrian m. carlson <sandals@crustytoothpaste.net>2020-07-26 19:43:25 +0000
committerbrian m. carlson <sandals@crustytoothpaste.net>2020-07-26 19:43:25 +0000
commit9b1ee6664f1c55286fadde7f99a73eb4f9896701 (patch)
tree7a27e234f10b0cccb23df883ab7b75681827047e
parentf9a7e0eedf92cf2dfb05a22f716bd7d3d6c693ce (diff)
zsh: set LANG when setting LC_ALL
There's an alias, en, to force the next command into English. However, this currently only sets LC_ALL, which is usually enough, but not always. Let's set LANG as well to make sure that we definitely get something in English. Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
-rw-r--r--zsh/zshrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/zsh/zshrc b/zsh/zshrc
index 62958e6..98f05a8 100644
--- a/zsh/zshrc
+++ b/zsh/zshrc
@@ -33,7 +33,7 @@ alias loadenv='eval $(cat $HOME/.environment)'
alias tloadenv='eval $(tmux show-environment -s)'
alias sudo='sudo -E '
alias be='bundle exec'
-alias en='LC_ALL=en_US.UTF-8 '
+alias en='LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 '
# Set prompts.
PROMPT='%n@%m:%~(%?%)%# '