Skip to content

refactor(claude): rename cc → ccc to avoid shadowing /usr/bin/cc - #7

Merged
fx merged 1 commit into
mainfrom
rename-cc-to-ccc
May 31, 2026
Merged

refactor(claude): rename cc → ccc to avoid shadowing /usr/bin/cc#7
fx merged 1 commit into
mainfrom
rename-cc-to-ccc

Conversation

@fx

@fx fx commented May 31, 2026

Copy link
Copy Markdown
Owner

The persistent-tmux Claude launcher was named cc, which shadows the system C compiler (/usr/bin/cc) in interactive shells. Rename the bash function and fish function to ccc.

  • dot_bash_aliases: cc()ccc() (+ internal re-exec)
  • fish config: function ccfunction ccc (+ delegation to bash ccc)

Pairs with an infra-repo change pointing the Coder Claude Code tile at bash -ic ccc.

The tmux launcher was named `cc`, which shadows the system C compiler in
interactive shells. Rename to `ccc`.
Copilot AI review requested due to automatic review settings May 31, 2026 20:28

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Renames the persistent Claude tmux launcher from cc to ccc in both Bash and Fish shell configurations to avoid shadowing the system C compiler (/usr/bin/cc). Comments are updated accordingly, including internal re-exec calls (bash -ic ccbash -ic ccc) used for the root → UID 1000 delegation path.

Changes:

  • Rename Bash function cc()ccc() and update internal re-exec to bash -ic ccc.
  • Rename Fish function ccccc and update root delegation to exec bash -ic ccc.
  • Update inline comments to reference ccc and document the rationale (shadowing /usr/bin/cc).

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
dot_bash_aliases Renames function and internal re-exec to ccc; updates explanatory comments.
dot_config/fish/config.fish.tmpl Renames Fish function and root delegation invocation to ccc; updates comments.

@fx
fx merged commit 4c85226 into main May 31, 2026
4 checks passed
@fx
fx deleted the rename-cc-to-ccc branch May 31, 2026 20:34
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