Created
December 27, 2018 03:13
-
-
Save larryli/8e8a5a4f93e489c0080bf3a750dbda7f to your computer and use it in GitHub Desktop.
set zh LANG for ssh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
if tty | fgrep -q pts ; then | |
export LANG=zh_CN.UTF-8 | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment