Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: shpool attach with no args? Pick the most recent un-attached session #119

Open
rlue opened this issue Aug 11, 2024 · 1 comment
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@rlue
Copy link

rlue commented Aug 11, 2024

The idea for this convenience feature is taken from tmux: it'd be nice to be able to simply shpool attach (or better yet, shpool a) when there's 1+ unattached sessions and have shpool just pick one to attach to automatically.

@ethanpailes
Copy link
Contributor

This seems like a reasonable feature. We could do this by adding a last_connected_at timestamp to the session table and then issuing a list rpc to choose the most recently accessed session.

@ethanpailes ethanpailes added enhancement New feature or request good first issue Good for newcomers labels Aug 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants