diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2012-08-19 21:32:35 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2012-08-19 21:32:35 +1200 |
commit | e4b9542e4f9c0692cc80a2d742986aac36f53561 (patch) | |
tree | 2ed87d7a3d14347291e23309e6cff2e283626d8c /tmux | |
parent | Add X dotfiles (diff) | |
download | dotfiles-e4b9542e4f9c0692cc80a2d742986aac36f53561.tar.gz dotfiles-e4b9542e4f9c0692cc80a2d742986aac36f53561.zip |
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.
Diffstat (limited to 'tmux')
-rw-r--r-- | tmux/tmux.conf | 18 | ||||
-rw-r--r-- | tmux/tmux.conf.256 | 15 |
2 files changed, 14 insertions, 19 deletions
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" - |