diff --git a/files/.tmux.conf b/files/.tmux.conf index fcbef2b..192397b 100644 --- a/files/.tmux.conf +++ b/files/.tmux.conf @@ -5,6 +5,12 @@ run-shell "\ tmux set-environment -g TMUX_VERSION \$((x * 100 + y));\ done" +# https://github.com/tmux/tmux/blob/master/CHANGES +# +# 2.2 +# * UTF8 autodetected, `set status-utf8` not accepted. +# + # same prefix as `screen` set -g prefix C-a unbind C-b @@ -24,7 +30,7 @@ bind C-a send-prefix # status bar # -set -g status-utf8 on +if-shell -b 'test $TMUX_VERSION -lt 202' 'set -g status-utf8 on' set -g monitor-activity on set -g visual-activity on