diff options
author | Luke Shumaker <shumakl@purdue.edu> | 2014-04-21 11:08:16 -0400 |
---|---|---|
committer | Luke Shumaker <shumakl@purdue.edu> | 2014-04-21 11:08:16 -0400 |
commit | b087c44642ae8a22a58a3763ea1b595b4be0bc07 (patch) | |
tree | aac868e22e9b828a432625747ff6ceb5ae1e48cc /.config/login.local.sh | |
parent | b649a6acf8b5252c821b92083abc136469a2ff8f (diff) |
make emacs work better over ssh
Diffstat (limited to '.config/login.local.sh')
-rw-r--r-- | .config/login.local.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/.config/login.local.sh b/.config/login.local.sh index a01f227..d970000 100644 --- a/.config/login.local.sh +++ b/.config/login.local.sh @@ -2,3 +2,6 @@ if [[ $EDITOR = /usr/bin/vi ]]; then unset EDITOR fi +if { [[ $LANG = C ]] || [[ -z $LANG ]]; } && grep '^en_US.UTF-8\s' /etc/locale.gen &>/dev/null; then + export LANG=en_US.UTF-8 +fi |