aboutsummaryrefslogtreecommitdiff
path: root/tmux
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-08-23 10:48:35 +1200
committerTom Ryder <tom@sanctum.geek.nz>2016-08-23 10:48:35 +1200
commita2fbbeec78c0a413a2ffe40a41a0858c2e82d073 (patch)
treead97272ad4cb29f4289267d3a01469b2e4998976 /tmux
parent044cd5905878fc6d2678f646685bc055d0b386e5 (diff)
downloaddotfiles-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')
-rw-r--r--tmux/tmux.conf.m44
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