Welcome to the Power Users community on Codidact!
Power Users is a Q&A site for questions about the usage of computer software and hardware. We are still a small site and would like to grow, so please consider joining our community. We are looking forward to your questions and answers; they are the building blocks of a repository of knowledge we are building together.
Post History
This is the relevant fragment of my Tmux configuration file. set -g automatic-rename on set -g automatic-rename-format "#{pane_current_command}" set -g window-status-for...
#1: Initial revision
Show the command argument in Tmux status-line
This is the relevant fragment of my Tmux configuration file. set -g automatic-rename on set -g automatic-rename-format "#{pane_current_command}" set -g window-status-format "#I:#W" set -g window-status-current-format "#I:#W" With that, each window is represented by "{index}:{current_pane_command}" in the status-line. This is quite useful to know which window to jump to with `Prefix+Number`, except when, for example, two windows are displaying man-pages, since then both windows are listed as "{index}:man". ![Status-line with two "man"](https://powerusers.codidact.com/uploads/hNzheY3JGRhqHL3KSKffyVbr) Can I configure Tmux such that the window name also includes the first argument (if any) to the command? In that case, the line would show 1:top|2:man sh|3:man tmux