tmux使用時に日本語が表示されないとき(アンダースコアになってしまう)の対処法

上記写真のように日本語であるべきところがアンダースコア(_)になっていて表示されないときは、tmuxをutf8モードで起動する。

$ tmux -u 

-u when starting, tmux looks for the LC_ALL, LC_CTYPE and LANG environment variables: if the first found contains ‘UTF-8’, then the terminal is assumed to support UTF-8. This is not always correct: the -u flag explicitly informs tmux that UTF-8 is supported.

引用元: http://man.openbsd.org/OpenBSD-current/man1/tmux.1

Related Posts