Skip to content

display local command or ssh hostname in window formatΒ #179

Open
@divansantana

Description

Now that #178 is sorted, a separate much more minor issue 😬

How does one achieve something like this:

1 htop 2 remotehost1 3 remotehost2 4 zsh

IE display the command if local, else display the ssh hostname. This almost works.

tmux_conf_theme_window_status_format='#I #W #{hostname_ssh}'
tmux_conf_theme_window_status_current_format='#I #W #{hostname_ssh}'

The above results in something like this which is a little less ideal because of screen estate:

1 htop 2 ssh remotehost1 3 ssh remotehost2 4 zsh

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions