refactor(claude): rename cc → ccc to avoid shadowing /usr/bin/cc - #7
Merged
Conversation
The tmux launcher was named `cc`, which shadows the system C compiler in interactive shells. Rename to `ccc`.
There was a problem hiding this comment.
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 cc → bash -ic ccc) used for the root → UID 1000 delegation path.
Changes:
- Rename Bash function
cc()→ccc()and update internal re-exec tobash -ic ccc. - Rename Fish function
cc→cccand update root delegation toexec bash -ic ccc. - Update inline comments to reference
cccand 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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 toccc.dot_bash_aliases:cc()→ccc()(+ internal re-exec)function cc→function ccc(+ delegation to bashccc)Pairs with an infra-repo change pointing the Coder Claude Code tile at
bash -ic ccc.