Closed akd5027 closed 2 years ago
Prior to this change, you would need to run a tight loop to even see the title changing:
while tmux select-pane -T "Testing"; do :; done
If https://github.com/chris-marsh/pureline/pull/82 is merged, then you will have a simple way to prevent pureline from updating the GUI window title when using TMUX.
Just add this line to your pureline configuration file :
# If using tmux, allow pane titles to persist
[ -n "$TMUX" ] && unset PL_TITLEBAR
(sorry for the mess, it's my first time with GIT, and thus with github and pull requests)
When running within tmux, attempt the following at the prompt
Prior to this change, the pureline_pre function is constantly setting the gui window title. This is the same value that TMUX uses to determine the pane title. This 'resetting' of the xterm title overwrites the tmux pane title. For this reason, and only within properly branded TMUX sessions, we do not reset the window title.