Skip to content

Add --print option to get selection but not attach - #11

Closed
p2004a wants to merge 1 commit into
EarthmanMuons:mainfrom
p2004a:print-option
Closed

p2004a wants to merge 1 commit into
EarthmanMuons:mainfrom
p2004a:print-option

Conversation

@p2004a

@p2004a p2004a commented Aug 9, 2026

Copy link
Copy Markdown
Contributor

This new option allows to use zp as a session selector only that doesn't perform actual attachment to the zmx session. This is useful for example to construct an autossh invocation that reconnects and reattaches to a session selected once via zp.

This new option allows to use zp as a session selector only, which
doesn't perform an actual attachment to the zmx session. This is
useful, for example, to construct an autossh invocation that
reconnects and reattaches to a session selected once via zp.
@elasticdog

Copy link
Copy Markdown
Member

Oh man, thanks @p2004a! I hadn't explicitly watched my own repository so I never received a notification that you opened this PR. I just happened to notice it when I was updating zmx-picker for the recent upstream cwd handling. I'll merge this, tweak the docs/tests and cut a new release. Much appreciated!

auto-merge was automatically disabled September 18, 2026 18:43

Pull request was closed

@p2004a

p2004a commented Sep 19, 2026

Copy link
Copy Markdown
Contributor Author

No worries and thanks a lot 🙂!

@p2004a
p2004a deleted the print-option branch September 19, 2026 14:35
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