Improve tmux status bar. I don't name sessions or windows. Always display current window so no need for * flag
David Blume

David Blume commited on 2021-04-30 11:08:01
Showing 1 changed files, with 2 additions and 2 deletions.

... ...
@@ -35,7 +35,7 @@ set -g status-keys vi
35 35
 set -g status-fg white
36 36
 set -g status-bg colour235
37 37
 set -g status-left-length 20
38
-set -g status-left '#[fg=green][#S]#[default]'
38
+set -g status-left "#[fg=green]pane #P#[default]"
39 39
 set -g status-justify centre
40 40
 set -g status-right '#[fg=green]%m/%d %H:%M#[default]'
41 41
 setw -g mode-keys vi
... ...
@@ -43,7 +43,7 @@ setw -g automatic-rename off
43 43
 setw -g aggressive-resize
44 44
 set -g allow-rename on
45 45
 #setw -g window-status-current-format '#[fg=yellow]#I:#F:#T:.../#{b:pane_current_path}#[default]'
46
-setw -g window-status-current-format '#[fg=yellow]#I:#F:#{s\/home/corp.roku/dblume\~\:pane_current_path}#[default]'
46
+setw -g window-status-current-format '#[fg=yellow]#{s/\*//:window_flags} #{s\/home/dblume\~\:pane_current_path}#[default]'
47 47
 setw -g window-status-format '#I:#F:#W'
48 48
 
49 49
 # prefix, C-Arrow doesn't work from PuTTY. Needs TERM to be xterm
50 50