Add shell function locale_en to set English (US) locale

This commit is contained in:
Peter J. Holzer 2021-10-16 17:30:36 +02:00
parent 774b4dddc5
commit 5442e8d7e3
1 changed files with 5 additions and 0 deletions

5
.zshrc
View File

@ -89,6 +89,11 @@ venv() {
done done
} }
locale_en () {
export LANGUAGE=en_US:en
export LANG=en_US.UTF-8
}
source ~/.znewterm source ~/.znewterm
# assume pseudo terminals are from a "safe" terminal # assume pseudo terminals are from a "safe" terminal