I have different instances of wsl-terminal (i.e. the 'physical' windows on my MS Windows GUI) attached to different tmux sessions, inside which I generally ssh into different servers running different projects.
However, the wsl-terminal instance title is always the folder I launched tmux from on my local machine, which is impractical.
I note that the config file has a setting title = " ", which seems to be used when use_tmux=1; but use_tmux=1 and the .bashrc code supplied seem geared to only having one instance of wsl-terminal.
I'd like the title to show the name of the tmux session the wsl-terminal instance is attached to. Is this possible? Something like setting that variable to title=tmux_session
I have different instances of wsl-terminal (i.e. the 'physical' windows on my MS Windows GUI) attached to different tmux sessions, inside which I generally ssh into different servers running different projects.
However, the wsl-terminal instance title is always the folder I launched tmux from on my local machine, which is impractical.
I note that the config file has a setting
title = " "
, which seems to be used whenuse_tmux=1
; butuse_tmux=1
and the.bashrc
code supplied seem geared to only having one instance of wsl-terminal.I'd like the title to show the name of the tmux session the wsl-terminal instance is attached to. Is this possible? Something like setting that variable to
title=tmux_session