From 0c3e380fe0388e34a9d5445c8b0d5896449e0d7b Mon Sep 17 00:00:00 2001 From: ZyX Date: Tue, 5 Aug 2014 00:17:58 +0400 Subject: [PATCH] Set all options quietly Requires tmux 1.7 or later, so `-q` is not used in 1.8 and earlier configuration file. Closes #942 --- powerline/bindings/tmux/powerline_tmux_1.8.conf | 2 +- powerline/bindings/tmux/powerline_tmux_1.8_plus.conf | 2 +- powerline/bindings/tmux/powerline_tmux_1.9_plus.conf | 10 +++++----- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/powerline/bindings/tmux/powerline_tmux_1.8.conf b/powerline/bindings/tmux/powerline_tmux_1.8.conf index d94daf39..720206be 100644 --- a/powerline/bindings/tmux/powerline_tmux_1.8.conf +++ b/powerline/bindings/tmux/powerline_tmux_1.8.conf @@ -1,5 +1,5 @@ # powerline_tmux_1.8.conf # tmux Version 1.8 introduces window-status-last-{attr,bg,fg}, which is # deprecated for versions 1.9+, thus only applicable to version 1.8. -set -g window-status-last-fg colour31 +set -qg window-status-last-fg colour31 # vim: ft=tmux diff --git a/powerline/bindings/tmux/powerline_tmux_1.8_plus.conf b/powerline/bindings/tmux/powerline_tmux_1.8_plus.conf index a31bacfe..1ad9cdb3 100644 --- a/powerline/bindings/tmux/powerline_tmux_1.8_plus.conf +++ b/powerline/bindings/tmux/powerline_tmux_1.8_plus.conf @@ -1,5 +1,5 @@ # powerline_tmux_1.8_plus.conf # tmux Version 1.8 introduces the 'client_prefix' format variable, applicable # for versions 1.8+ -set -g status-left '#{?client_prefix,#[fg=colour254]#[bg=colour31]#[bold],#[fg=colour16]#[bg=colour254]#[bold]} #S #{?client_prefix,#[fg=colour31]#[bg=colour234]#[nobold],#[fg=colour254]#[bg=colour234]#[nobold]}#(eval $POWERLINE_COMMAND tmux left)' +set -qg status-left '#{?client_prefix,#[fg=colour254]#[bg=colour31]#[bold],#[fg=colour16]#[bg=colour254]#[bold]} #S #{?client_prefix,#[fg=colour31]#[bg=colour234]#[nobold],#[fg=colour254]#[bg=colour234]#[nobold]}#(eval $POWERLINE_COMMAND tmux left)' # vim: ft=tmux diff --git a/powerline/bindings/tmux/powerline_tmux_1.9_plus.conf b/powerline/bindings/tmux/powerline_tmux_1.9_plus.conf index 619b26d5..b053b6ee 100644 --- a/powerline/bindings/tmux/powerline_tmux_1.9_plus.conf +++ b/powerline/bindings/tmux/powerline_tmux_1.9_plus.conf @@ -1,8 +1,8 @@ # powerline_tmux_1.9_plus.conf # Version 1.9 introduces the foo-style options, applicable to version 1.9+ -set -g status-style fg=colour231,bg=colour234 -set -g window-status-last-style fg=colour31 -set-window-option -g window-status-style fg=colour249 -set-window-option -g window-status-activity-style fg=yellow,none -set-window-option -g window-status-bell-style fg=red,none +set -qg status-style fg=colour231,bg=colour234 +set -qg window-status-last-style fg=colour31 +set-window-option -qg window-status-style fg=colour249 +set-window-option -qg window-status-activity-style fg=yellow,none +set-window-option -qg window-status-bell-style fg=red,none # vim: ft=tmux