fix(mosht): label terminal tab with target host, reinstall mosh on setup - #36
Merged
Merged
Conversation
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
moshtnow sets the remote tmux title tomosht <host>:<window>so the Ghostty tab shows which dev host you are connected to, instead of the genericmain:bashmac_install.shnow reinstalls mosh when it is already installed, because protobuf upgrades break mosh's dynamic library linksHow the tab title works
tmux runs on the remote host and cannot know the alias you typed locally. The
moshtfunction passes the target hostname in viaset-titles-string(and enablesset-titlesso it works regardless of the remote tmux config).🤖 Generated with Claude Code