I recently upgraded to Debian 10, which has tmux version 2.8-3. I copied over my old tmux conf file. For unnamed windows, the behavior was to show the process name with arguments, ie "vim foo.txt". Now unfortunately it just shows the process name, ie, "vim" so I am unable to distinguish between dozens of windows I have open currently. (Lots of projects being worked on at once, tmux is beyond crucial to my workflow) How do I revert to the old behavior?
Also, it shows the hostname for each window. Is there any way I can hide this unless that window is sshed to another machine? I don't need to see my own hostname hundreds of times over and over.
I am not having an issue with windows getting renamed, so don't worry about that.
.tmux.conf:
unbind C-b
# Are both of these next two lines necessary?
set -g prefix C-a
bind C-a send-prefix
set -g default-terminal "screen-256color"
set-option -g visual-bell off
set -g base-index 1
# Keep original window selection behavior but commented out for now
# bind-key -r -T prefix w run-shell 'tmux choose-tree -Nwf"##{==:##{session_name},#{session_name}}"'
bind-key W command-prompt -p "Switch to pane with pid:" "run-shell 'pane=\$(ps eww %% | sed \"1d; s/^.*TMUX_PANE=//;s/ .*//\"); [[ -z \$pane ]] && tmux display-message \"could not find pid\" || tmux switch-client -t \$pane'"
bind r source-file ~/.tmux.conf
set -g pane-active-border-style fg=green,bg=green
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'tmux-plugins/tmux-resurrect'
set -g @resurrect-strategy-vim 'session'
set-option -g renumber-windows on
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run '~/.tmux/plugins/tpm/tpm'