From 1b844005d69ff957af148a815ecc8c58368d9b3c Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Fri, 12 Oct 2012 14:05:36 -0400 Subject: [PATCH] .bashrc.d/02locale: force LANG=en_US.UTF-8 on xphy*s. It had been en_US, which causes warnings like bash: warning: setlocale: LC_CTYPE: cannot change locale (en_US) on bash tab-completion. --- src/.bashrc.d/02locale | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 src/.bashrc.d/02locale diff --git a/src/.bashrc.d/02locale b/src/.bashrc.d/02locale new file mode 100644 index 0000000..90aba95 --- /dev/null +++ b/src/.bashrc.d/02locale @@ -0,0 +1,6 @@ +if [[ "${OS}" = "Ubuntu" ]]; then + HOST="$(hostname)" + if [[ "${HOST:0:4}" = "xphy" ]]; then + export LANG="en_US.UTF-8" + fi +fi -- 2.26.2