Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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.
  • Loading branch information...
commit a57c5cd3f212299559239e4796df74c87cbc2a2e 1 parent 96641de
@tejr authored
Showing with 14 additions and 20 deletions.
  1. +0 −1  install
  2. +14 −4 tmux/tmux.conf
  3. +0 −15 tmux/tmux.conf.256
View
1  install
@@ -12,7 +12,6 @@ ln -fs ".dotfiles/bash/bash_logout" "${HOME}/.bash_logout"
ln -fs ".dotfiles/git/gitconfig" "${HOME}/.gitconfig"
ln -fs ".dotfiles/readline/inputrc" "${HOME}/.inputrc"
ln -fs ".dotfiles/tmux/tmux.conf" "${HOME}/.tmux.conf"
-ln -fs ".dotfiles/tmux/tmux.conf.256" "${HOME}/.tmux.conf.256"
ln -fs ".dotfiles/vim/vimrc" "${HOME}/.vimrc"
ln -fs ".dotfiles/vim/gvimrc" "${HOME}/.gvimrc"
ln -fs ".dotfiles/X/Xdefaults" "${HOME}/.Xdefaults"
View
18 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"
View
15 tmux/tmux.conf.256
@@ -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"
-
Please sign in to comment.
Something went wrong with that request. Please try again.