From 5442e8d7e3a5f345414ae31c2d63fe5cbe43dbf9 Mon Sep 17 00:00:00 2001 From: "Peter J. Holzer" Date: Sat, 16 Oct 2021 17:30:36 +0200 Subject: [PATCH] Add shell function locale_en to set English (US) locale --- .zshrc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.zshrc b/.zshrc index 542968d..f6127ea 100644 --- a/.zshrc +++ b/.zshrc @@ -89,6 +89,11 @@ venv() { done } +locale_en () { + export LANGUAGE=en_US:en + export LANG=en_US.UTF-8 +} + source ~/.znewterm # assume pseudo terminals are from a "safe" terminal