From feecf77999e00adb867ffa46e43a8d20a182efb7 Mon Sep 17 00:00:00 2001 From: Klesh Wong Date: Thu, 29 Oct 2020 14:44:25 +0800 Subject: [PATCH] [feature] show user@host on right corner --- tmux/tmux.conf | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tmux/tmux.conf b/tmux/tmux.conf index 6b3ced5..f438520 100644 --- a/tmux/tmux.conf +++ b/tmux/tmux.conf @@ -93,6 +93,5 @@ set -g window-status-current-style "bg=black,fg=white" set -g status-interval 5 #set -g status-right-length 80 #set -g status-right '#[fg=white,bg=red] prefix: C-h #[fg=black,bg=colour14,bold]#{simple_git_status}#[fg=colour14,bg=black] #(echo $USER)@#H #[fg=colour7,bg=colour4] %Y-%m-%d %H:%M ' -#set -g status-right '#[fg=black,bg=colour14,bold]#{host}' -set -g status-right-length 0 -set -g status-right '' +set -g status-right '#[fg=white] #(echo $USER)@#H ' +set -g status-right-length 30