By default, tmux sets the current pane title as the active command (ex:vim), even if allow-rename is off.I want to change it to current folder name (basename $PWD).Note that I do not want to dynamically change window name, since I sometimes use rename-window to set a custom name. In this case, the custom window name must persist.
Change tmux pane title to current folder name
tmux;window title