From 9e7c41b5ad0e8ac1539b320625b8d96f59710bc3 Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Wed, 10 Oct 2012 15:51:19 +0900 Subject: [PATCH] fix tmux.conf --- tmux.conf | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/tmux.conf b/tmux.conf index 05a747e..042ebf6 100644 --- a/tmux.conf +++ b/tmux.conf @@ -15,7 +15,7 @@ set default-path "$HOME" # not work as i expected #set -g status-left "" #set -g status-right "#H | %a, %d %b %Y %T %z #(tmux -V)" -set -g status-right "#(whoami)@#H | #(tmux -V) " +set -g status-right "${USER}@#H | #(tmux -V) " set message-bg black set message-fg yellow @@ -23,11 +23,15 @@ set -g set-titles on set -g status-bg green set -g status-fg white -if "test `hostname` = arch-aspireone" "set -g status-bg blue; set -g pane-active-border-fg blue" -if "test `hostname` = darwin-mba.local" "set -g status-bg yellow; set -g pane-active-border-fg yellow; set -g status-fg black" -if "test `hostname` = newkiwi" "set -g status-bg magenta; set -g pane-active-border-fg magenta" - -if "test -f /opt/local/bin/reattach-to-user-namespace" "set-option -g default-command '/opt/local/bin/reattach-to-user-namespace bash'" +if "test `hostname` = arch-aspireone" + "set -g status-bg blue; set -g pane-active-border-fg blue" +if "test `hostname` = darwin-mba.local" + "set -g status-bg yellow; set -g pane-active-border-fg yellow; set -g status-fg black" +if "test `hostname` = newkiwi" + "set -g status-bg magenta; set -g pane-active-border-fg magenta" + +if "test -f /opt/local/bin/reattach-to-user-namespace" + "set-option -g default-command '/opt/local/bin/reattach-to-user-namespace bash'" # window-status-current setw -g window-status-current-fg black