From a2fbbeec78c0a413a2ffe40a41a0858c2e82d073 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Tue, 23 Aug 2016 10:48:35 +1200 Subject: Include username in tmux status-right Because it won't be in the prompt if not connecting via SSH anymore --- tmux/tmux.conf.m4 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tmux') diff --git a/tmux/tmux.conf.m4 b/tmux/tmux.conf.m4 index 624047ec..a4af9f8e 100644 --- a/tmux/tmux.conf.m4 +++ b/tmux/tmux.conf.m4 @@ -73,8 +73,8 @@ bind-key s choose-session # Session title on the left side of the status bar set-option -g status-left '[#S] ' -# Hostname and the current date on the right side of the status bar -set-option -g status-right ' [#H] #(date +"%F %T")' +# Username, hostname, and the current date on the right side of the status bar +set-option -g status-right ' [#(whoami)@#H] #(date +"%F %T")' # Update the status bar every second set-option -g status-interval 1 -- cgit v1.2.3