Skip to content

showing tmux session name on each instance of wsl-terminal #198

Open
@AltfunsMA

Description

@AltfunsMA

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions