{"id":32848533,"url":"https://github.com/jlhg/claude-bash-completion","last_synced_at":"2025-11-08T10:01:44.002Z","repository":{"id":323074886,"uuid":"1092037966","full_name":"jlhg/claude-bash-completion","owner":"jlhg","description":"Bash completion script for Claude Code CLI, providing tab completion for both built-in slash commands and custom commands.","archived":false,"fork":false,"pushed_at":"2025-11-07T22:49:43.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-11-08T00:19:39.662Z","etag":null,"topics":["bash-completion","claude","claude-code"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jlhg.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-11-07T22:29:28.000Z","updated_at":"2025-11-07T22:49:47.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/jlhg/claude-bash-completion","commit_stats":null,"previous_names":["jlhg/claude-bash-completion"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/jlhg/claude-bash-completion","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jlhg%2Fclaude-bash-completion","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jlhg%2Fclaude-bash-completion/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jlhg%2Fclaude-bash-completion/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jlhg%2Fclaude-bash-completion/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jlhg","download_url":"https://codeload.github.com/jlhg/claude-bash-completion/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jlhg%2Fclaude-bash-completion/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":283333707,"owners_count":26818628,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-11-08T02:00:06.281Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bash-completion","claude","claude-code"],"created_at":"2025-11-08T10:00:34.405Z","updated_at":"2025-11-08T10:01:43.997Z","avatar_url":"https://github.com/jlhg.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Claude Bash Completion\n\nBash completion script for Claude Code CLI, providing tab completion for both built-in slash commands and custom commands.\n\n## Features\n\n- Auto-completion for all Claude Code built-in slash commands (26 commands)\n- Auto-completion for custom commands from `~/.claude/commands/` directory\n- Smart detection: completions only trigger when input starts with `/`\n\n## Requirements\n\n- Bash shell\n- [Claude Code](https://github.com/anthropics/claude-code) installed and configured\n- `bash-completion` package (usually pre-installed on most systems)\n\n## Installation\n\n### Method 1: Source in `.bashrc`\n\n1. Clone or download this repository:\n\n```bash\ngit clone https://github.com/jlhg/claude-bash-completion.git\n```\n\n2. Add the following line to your `~/.bashrc`:\n\n```bash\nsource /path/to/claude-bash-completion/claude-completion.bash\n```\n\n3. Reload your shell configuration:\n\n```bash\nsource ~/.bashrc\n```\n\n### Method 2: Install to system completion directory\n\nCopy the script to your system's bash completion directory:\n\n```bash\nsudo cp claude-completion.bash /etc/bash_completion.d/claude\n```\n\nThen reload your shell or start a new terminal session.\n\n## Usage\n\nOnce installed, you can use tab completion with the `claude` command:\n\n```bash\n# Type and press Tab to see all available commands\nclaude /\n\n# Type partial command and press Tab for completion\nclaude /con    # Completes to /config, /context, /cost, etc.\n\n# Works with both built-in and custom commands\nclaude /my-custom-    # If you have custom commands in ~/.claude/commands/\n```\n\n## Custom Commands\n\nThe script automatically discovers custom commands from `~/.claude/commands/` directory. Any `.md` file in that directory will be available for completion.\n\n## License\n\nMIT License\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjlhg%2Fclaude-bash-completion","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjlhg%2Fclaude-bash-completion","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjlhg%2Fclaude-bash-completion/lists"}