|
|
@@ -4,7 +4,6 @@ source-file ~/dotfiles/tmux/tmuxcolors-256.conf
|
|
|
|
|
|
# Default status line options.
|
|
|
set-option -g status on
|
|
|
-set-option -g status-utf8 on
|
|
|
set-option -g status-interval 2
|
|
|
set-option -g status-bg colour234
|
|
|
set-option -g status-fg colour231
|
|
|
@@ -27,4 +26,5 @@ set-option -g status-right-length 90
|
|
|
set-option -g status-right '#[fg=colour233]#[fg=colour166,bg=colour233] %H:%M #[fg=colour233,bg=colour166]%d/%m/%y #(rainbarf --remaining --rgb --width 10)'
|
|
|
|
|
|
|
|
|
+if-shell '[[ $(version-compare $(tmux -V | sed "s/[tmux ]//g") 2.1) -le 0 ]]' 'set-option -g status-utf8 on'
|
|
|
if-shell '[[ $(version-compare $(tmux -V | sed "s/[tmux ]//g") 2.1) -ge 0 ]]' 'source-file ~/dotfiles/tmux/tmuxcolours2.conf'
|