Skip to content

fix(mosht): label terminal tab with target host, reinstall mosh on setup - #36

Merged
NickBorgers merged 2 commits into
mainfrom
nborgers/mosht-tab-title-and-mosh-reinstall
Sep 13, 2026
Merged

NickBorgers merged 2 commits into
mainfrom
nborgers/mosht-tab-title-and-mosh-reinstall

Conversation

@NickBorgersOnLowSecurityNode

Copy link
Copy Markdown
Collaborator

Summary

  • mosht now sets the remote tmux title to mosht <host>:<window> so the Ghostty tab shows which dev host you are connected to, instead of the generic main:bash
  • mac_install.sh now reinstalls mosh when it is already installed, because protobuf upgrades break mosh's dynamic library links

How the tab title works

tmux runs on the remote host and cannot know the alias you typed locally. The mosht function passes the target hostname in via set-titles-string (and enables set-titles so it works regardless of the remote tmux config).

🤖 Generated with Claude Code

mosht now sets the remote tmux title to "mosht <host>:<window>" so the
terminal tab shows which dev host the session is on, instead of the
generic "main:bash". tmux runs on the remote and can't know the alias we
typed locally, so mosht passes it in via set-titles-string (and enables
set-titles in case the remote config doesn't).

mac_install.sh now reinstalls mosh when present, because protobuf
upgrades break mosh's dynamic library links.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…tle-and-mosh-reinstall

# Conflicts:
#	mac_install.sh
@NickBorgers
NickBorgers merged commit 5ed40c4 into main Sep 13, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants