diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2016-08-23 10:48:35 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2016-08-23 10:48:35 +1200 |
commit | a2fbbeec78c0a413a2ffe40a41a0858c2e82d073 (patch) | |
tree | ad97272ad4cb29f4289267d3a01469b2e4998976 /tmux/tmux.conf.m4 | |
parent | Use whoami(1) rather than `id -nu` (diff) | |
download | dotfiles-a2fbbeec78c0a413a2ffe40a41a0858c2e82d073.tar.gz dotfiles-a2fbbeec78c0a413a2ffe40a41a0858c2e82d073.zip |
Include username in tmux status-right
Because it won't be in the prompt if not connecting via SSH anymore
Diffstat (limited to 'tmux/tmux.conf.m4')
-rw-r--r-- | tmux/tmux.conf.m4 | 4 |
1 files changed, 2 insertions, 2 deletions
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 |