Skip to content

Group same-name processes in interactive mode - #1

Open
Wisernage wants to merge 2 commits into
mainfrom
feat/group-same-name-processes-6
Open

Wisernage wants to merge 2 commits into
mainfrom
feat/group-same-name-processes-6

Conversation

@Wisernage

@Wisernage Wisernage commented Sep 19, 2026

Copy link
Copy Markdown

Group identically named processes in the interactive chooser and add a submenu to kill all of them or pick individuals.

  • Same-name processes collapse to one row, e.g. Google Chrome (12)
  • Selecting a group opens Kill all / Pick individuals (pid, plus truncated cmd when --verbose)
  • Singleton names keep the existing row and kill behavior
  • Port (:8080) and PID searches stay ungrouped/exact
  • Existing isHelperProcess filter is unchanged
  • Adds a pure groupByName helper with unit tests
  • Short README and CLI help notes

Fixes sindresorhus#6

IssueHunt $40 bounty

Tests: xo is clean aside from two pre-existing warnings. New grouping unit tests pass. Existing name-match integration tests that depend on noopProcess titles (default case-insensitive behavior, smart-case with lowercase) fail in this environment because fkill cannot see those process titles; that path is unchanged.

Open in Web Open in Cursor 

cursoragent and others added 2 commits September 19, 2026 17:28
Collapse identically named processes into one chooser row and offer a
submenu to kill all or pick individuals. Port and PID searches stay exact.

Co-authored-by: Wisernage <Wisernage@users.noreply.github.com>
Pack chooser options into one object and format named exports so xo
passes.

Co-authored-by: Wisernage <Wisernage@users.noreply.github.com>
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.

Smart mode

2 participants