Skip to content

refactor: trim to core tools, drop yazi/bat, polish for low-bloat#6

Merged
ITZSHOAIB merged 1 commit into
mainfrom
refactor/trim-to-core-tools
Jun 20, 2026
Merged

refactor: trim to core tools, drop yazi/bat, polish for low-bloat#6
ITZSHOAIB merged 1 commit into
mainfrom
refactor/trim-to-core-tools

Conversation

@ITZSHOAIB

Copy link
Copy Markdown
Owner

Summary

Polish cmuxup into a lean, trustworthy, no-bloat agentic coding workspace. Every tool now earns its place.

Tool changes

  • ripgrep + fd → core (always installed). They power the editor's project-wide search and file picker, so they belong in every workspace rather than behind an opt-in prompt.
  • Drop yazi — redundant with the editor's built-in file picker and never wired into the layout. Removes the yazi config template, the y() shell function, and the extras prompt.
  • Drop bat — a standalone cat replacement that wasn't integrated into the workspace.

Simplification

  • Removed the "Optional tools" multi-select prompt — one fewer decision, cleaner flow.
  • With no remaining caller, the _pick_multi function (~110 lines) is deleted.
  • Deleted lib/cmux.sh — unused dead code; bin/cmuxup is self-contained (copied alone to ~/.local/bin, never sourced it).
  • Gated the lg alias on lazygit actually being installed.
  • CI no longer installs gum.

Docs

  • Rewrote the README to match reality: pure-bash installer, accurate core/optional tool tables, backup-on-overwrite, adaptive layout, "Why" section.

Net: +81 / −243 lines.

Test plan

  • bats test/ → 25/25 pass (was 23)
  • New guard: ripgrep and fd always referenced in dry-run output
  • New guard: no yazi reference anywhere; templates/yazi.toml absent
  • bash -n install.sh clean
  • Visual dry-run: core tools + chosen optional tools only, no yazi/bat/gum

🤖 Generated with Claude Code

Focus cmuxup on tools that earn their place in the workspace.

Tool changes:
- ripgrep + fd are now core (always installed) — they power the
  editor's project search and file picker, so they belong in every
  workspace, not behind an opt-in prompt.
- Drop yazi entirely: redundant with the editor's built-in file
  picker, never wired into the layout. Removes the yazi config
  template, the `y()` shell function, and the extras prompt.
- Drop bat: a standalone `cat` replacement that wasn't integrated
  into the workspace.

This removes the "Optional tools" multi-select prompt — one fewer
decision, cleaner flow. With no remaining caller, the _pick_multi
function (~110 lines) is deleted too.

Cleanup:
- Delete lib/cmux.sh — unused dead code; bin/cmuxup is self-contained
  (it's copied alone to ~/.local/bin and never sourced this file).
- Gate the `lg` alias on lazygit actually being installed.
- CI no longer installs gum (removed in an earlier change).
- Rewrite README to match reality: pure-bash installer, accurate
  core/optional tool tables, backup-on-overwrite, adaptive layout.

Tests: 23 → 25 (add core-tools and yazi-removal regression guards).
All green.

Refs: cmuxup lean-workspace
@ITZSHOAIB ITZSHOAIB merged commit eca44f2 into main Jun 20, 2026
1 check passed
@ITZSHOAIB ITZSHOAIB deleted the refactor/trim-to-core-tools branch June 21, 2026 11:28
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.

1 participant