path: root/tmux
diff options
authorTom Ryder <tom@sanctum.geek.nz>2012-06-07 23:39:48 +1200
committerTom Ryder <tom@sanctum.geek.nz>2012-06-07 23:39:48 +1200
commit39763dece19184336b84ef6db41826baefe1e297 (patch)
treee2e5cb56cb00c66bd94bc9f6b4b0763c570ee78e /tmux
parentUse colorcolumn limit in Markdown if available (diff)
Work around race condition bug in tmux
It looks like tmux doesn't wait for me to finish defining my default-terminal before it opens up my new shell. This means the first window of my new tmux sessions usually humbly thinks it only has eight colours. This seems to be a known bug in tmux, so for the moment I'm just working around it with an environment variable with which .bashrc will deal.
Diffstat (limited to 'tmux')
1 files changed, 1 insertions, 0 deletions
diff --git a/tmux/tmux.conf b/tmux/tmux.conf
index 673ca076..f9daaea2 100644
--- a/tmux/tmux.conf
+++ b/tmux/tmux.conf
@@ -64,6 +64,7 @@ if-shell 'test `tput colors` -eq 256' 'set-window-option -g window-status-curren
if-shell 'test `tput colors` -eq 256' 'set-window-option -g window-status-format "#[fg=colour16]#I:#W#F"'
# Terminal
set-option -g terminal-overrides 'xterm*:smcup@:rmcup@'
set-option -s escape-time 0
if-shell 'test `tput colors` -eq 256' 'set-option -g default-terminal "screen-256color"'