From 588c3b465c9bb51ef11bcb82205d551d15169823 Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Thu, 25 Dec 2014 15:27:05 +0900 Subject: [PATCH] Update tmux status line --- tmux.conf | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tmux.conf b/tmux.conf index bcfed9c..ae4c6f0 100644 --- a/tmux.conf +++ b/tmux.conf @@ -28,8 +28,10 @@ setw -g mode-mouse off # try to set title of terminal tmux is running on # set -g set-titles off set -g display-panes-time 5000 -set -g window-status-current-format "#I|#W:#T#F" -set -g window-status-format "#I|#W:#T#F" +# |:<Window flag> +# Example: `1|emacs:.dotfiles*` +set -g window-status-current-format "#I|#{pane_current_command}:#T#F" +set -g window-status-format "#I|#{pane_current_command}:#T#F" # set window name automatically from command currently running set -g automatic-rename on