From e4b9542e4f9c0692cc80a2d742986aac36f53561 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Sun, 19 Aug 2012 21:32:35 +1200 Subject: Don't really need color degrading in tmux If I'm on a 16-color terminal then I'm probably not going to want to use it anyway, and if I really want to then I know how to fix it. --- tmux/tmux.conf | 18 ++++++++++++++---- tmux/tmux.conf.256 | 15 --------------- 2 files changed, 14 insertions(+), 19 deletions(-) delete mode 100644 tmux/tmux.conf.256 (limited to 'tmux') diff --git a/tmux/tmux.conf b/tmux/tmux.conf index 81e49d33..ce43ad6e 100644 --- a/tmux/tmux.conf +++ b/tmux/tmux.conf @@ -47,8 +47,18 @@ set-window-option -g mode-keys vi # No special xterm stuff, error-prone in VTE set -ga terminal-overrides ',*:XT@' -# Terminal handling -containing_term=$TERM -if-shell 'test -e ~/.tmux.conf.256 && test `tput colors` -eq 256' \ - 'source ~/.tmux.conf.256' +# Colors +set-option -g default-terminal 'screen-256color' +set-option -g message-bg colour18 +set-option -g message-fg colour231 +set-option -g pane-active-border-fg colour237 +set-option -g pane-border-fg colour237 +set-option -g status-bg colour237 +set-option -g status-fg colour248 +set-window-option -g mode-bg colour18 +set-window-option -g mode-fg colour231 +set-window-option -g window-status-activity-bg colour237 +set-window-option -g window-status-activity-fg colour248 +set-window-option -g window-status-current-format "#[fg=colour231]#I:#W#F" +set-window-option -g window-status-format "#[fg=colour16]#I:#W#F" diff --git a/tmux/tmux.conf.256 b/tmux/tmux.conf.256 deleted file mode 100644 index a6529a70..00000000 --- a/tmux/tmux.conf.256 +++ /dev/null @@ -1,15 +0,0 @@ -# 256 color terminals -set-option -g default-terminal 'screen-256color' -set-option -g message-bg colour18 -set-option -g message-fg colour231 -set-option -g pane-active-border-fg colour237 -set-option -g pane-border-fg colour237 -set-option -g status-bg colour237 -set-option -g status-fg colour248 -set-window-option -g mode-bg colour18 -set-window-option -g mode-fg colour231 -set-window-option -g window-status-activity-bg colour237 -set-window-option -g window-status-activity-fg colour248 -set-window-option -g window-status-current-format "#[fg=colour231]#I:#W#F" -set-window-option -g window-status-format "#[fg=colour16]#I:#W#F" - -- cgit v1.2.3