From ca8a584c237a8861ad445a158afcf70fb01ff9a1 Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Wed, 8 Aug 2012 15:50:02 +0900 Subject: [PATCH 1/2] add tput colors --- bashrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bashrc b/bashrc index f56118e..2d61e0e 100755 --- a/bashrc +++ b/bashrc @@ -74,7 +74,7 @@ type fortune >/dev/null 2>&1 && { echo } uname -a -echo TERM $TERM connected to $(tty), running $BASH $BASH_VERSION +echo TERM $TERM $(tput colors) colors connected to $(tty), running $BASH $BASH_VERSION echo ################################### From 188adc251e38d27343864ccc6db417cf47f6920a Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Wed, 8 Aug 2012 16:20:54 +0900 Subject: [PATCH 2/2] update tmux.conf --- tmux.conf | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tmux.conf b/tmux.conf index d0c9d0e..2d99702 100644 --- a/tmux.conf +++ b/tmux.conf @@ -12,8 +12,12 @@ set -g default-terminal screen-256color #set -g status-left "" #set -g status-right "#H | %a, %d %b %Y %T %z #(tmux -V)" -set -g status-right "#H | #(tmux -V) " +set -g status-right "#(whoami)@#H | #(tmux -V) " set message-bg black set message-fg yellow set -g set-titles on + +set status-fg white +set status-bg green +if "test `hostname` = newkiwi" "set status-bg blue"