shell-pool / shell-pool/shpool

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

Open
#119 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement good first issue
Dominant language
Rust
Stars
2k
Forks
67
Avg merge
3d 1h
Merged PRs (30d)
15

Description

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.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the CLI entry point for shpool attach and inspect how existing sessions are listed and selected. Implement the no-argument behavior, including the shorter shpool a form, so it chooses the most recent unattached session when one or more exist. Done means both invocation forms attach to the selected session without requiring a session name.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.