{"id":34375000,"url":"https://github.com/1160054/claude-code-zsh-completion","last_synced_at":"2026-04-29T23:32:18.691Z","repository":{"id":328574752,"uuid":"1115469228","full_name":"1160054/claude-code-zsh-completion","owner":"1160054","description":"Zsh completion for the Claude Code CLI with support for 120+ languages","archived":false,"fork":false,"pushed_at":"2025-12-14T08:07:55.000Z","size":1079,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-12-16T04:17:24.012Z","etag":null,"topics":["anthropic","autocomplete","claude","claude-code","cli","completion","developer-tools","i18n","multilingual","productivity","shell","terminal","zsh","zsh-completion","zsh-completions"],"latest_commit_sha":null,"homepage":"https://zenn.dev/onodera/articles/8d5a2ba7bcefb9","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/1160054.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":"SECURITY.md","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-12-12T23:19:02.000Z","updated_at":"2025-12-14T08:07:57.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/1160054/claude-code-zsh-completion","commit_stats":null,"previous_names":["1160054/claude-code-zsh-completion"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/1160054/claude-code-zsh-completion","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1160054%2Fclaude-code-zsh-completion","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1160054%2Fclaude-code-zsh-completion/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1160054%2Fclaude-code-zsh-completion/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1160054%2Fclaude-code-zsh-completion/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/1160054","download_url":"https://codeload.github.com/1160054/claude-code-zsh-completion/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1160054%2Fclaude-code-zsh-completion/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32448399,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T22:27:22.272Z","status":"ssl_error","status_checked_at":"2026-04-29T22:10:49.234Z","response_time":110,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["anthropic","autocomplete","claude","claude-code","cli","completion","developer-tools","i18n","multilingual","productivity","shell","terminal","zsh","zsh-completion","zsh-completions"],"created_at":"2025-12-18T12:00:36.437Z","updated_at":"2026-04-29T23:32:18.686Z","avatar_url":"https://github.com/1160054.png","language":"Shell","funding_links":[],"categories":["Completions"],"sub_categories":["ZSH on Windows"],"readme":"[![Test Completion](https://github.com/1160054/claude-code-zsh-completion/actions/workflows/test.yml/badge.svg)](https://github.com/1160054/claude-code-zsh-completion/actions/workflows/test.yml)\n[![GitHub release](https://img.shields.io/github/v/release/1160054/claude-code-zsh-completion)](https://github.com/1160054/claude-code-zsh-completion/releases)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n[![Languages](https://img.shields.io/badge/languages-120+-blue.svg)](https://github.com/1160054/claude-code-zsh-completion/tree/main/completions)\n\n# claude-code-zsh-completion\n\n🚀 Zsh completion script for Claude Code CLI - intelligent auto-completion for all claude commands, options, and arguments\n\n![Demo](demo.gif)\n\n## Features\n\n- ✨ Complete command completion for all `claude` commands\n- 🔧 Intelligent option and flag suggestions\n- 📦 MCP server management completions\n- 🔌 Plugin marketplace operation completions\n- 🎯 Context-aware argument completion\n- 📝 Helpful descriptions for all commands and options\n- 🌍 **Multi-language support (120+ languages)**\n- ⚡ Dynamic completion for MCP servers, plugins, and sessions\n\n## Requirements\n\n- Zsh 5.0 or later\n- Claude Code CLI installed\n\n## Installation\n\n### Quick Install\n\n```bash\n# Download and install (English example)\nmkdir -p ~/.zsh/completions \u0026\u0026 curl -o ~/.zsh/completions/_claude \\\n  https://raw.githubusercontent.com/1160054/claude-code-zsh-completion/main/completions/_claude\n```\n\nFor other languages, replace `_claude` with your preferred language file. See [Available Languages](#available-languages) below.\n\nAdd the following to your `~/.zshrc` (if not already present):\n```bash\n# Add completions directory to fpath\nfpath=(~/.zsh/completions $fpath)\n\n# Initialize completion system\nautoload -Uz compinit\ncompinit\n```\n\nReload your shell:\n```bash\nsource ~/.zshrc\n```\n\n### Plugin Managers\n\n#### [zinit](https://github.com/zdharma-continuum/zinit)\n\n```bash\nzinit light 1160054/claude-code-zsh-completion\n```\n\n#### [antigen](https://github.com/zsh-users/antigen)\n\n```bash\nantigen bundle 1160054/claude-code-zsh-completion\n```\n\n#### [sheldon](https://github.com/rossmacarthur/sheldon)\n\nAdd to `~/.config/sheldon/plugins.toml`:\n```toml\n[plugins.claude-code-zsh-completion]\ngithub = \"1160054/claude-code-zsh-completion\"\n```\n\n#### [Oh My Zsh](https://ohmyz.sh/)\n\n```bash\ngit clone https://github.com/1160054/claude-code-zsh-completion ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/claude-code\n```\n\nAdd `claude-code` to your plugins in `~/.zshrc`:\n```bash\nplugins=(... claude-code)\n```\n\n## Available Languages\n\n**120+ languages supported!** All completion files are located in the [`completions/`](completions/) directory.\n\n### Popular Languages\n\n- English (`_claude`), Japanese (`_claude.ja`), Chinese Simplified (`_claude.zh-CN`), Spanish (`_claude.es`), French (`_claude.fr`), German (`_claude.de`), Korean (`_claude.ko`), Russian (`_claude.ru`), Portuguese (`_claude.pt`), Italian (`_claude.it`), Arabic (`_claude.ar`), Hindi (`_claude.hi`), Turkish (`_claude.tr`), Polish (`_claude.pl`), Dutch (`_claude.nl`), Vietnamese (`_claude.vi`), Thai (`_claude.th`), Indonesian (`_claude.id`)\n\n\u003cdetails\u003e\n\u003csummary\u003e📋 See all 120+ supported languages\u003c/summary\u003e\n\nBrowse all language files in the [`completions/`](https://github.com/1160054/claude-code-zsh-completion/tree/main/completions) directory.\n\n**Included:**\n- **European**: Slavic (Bulgarian, Czech, Slovak, Croatian, Serbian, Ukrainian, Belarusian, etc.), Germanic (Swedish, Danish, Norwegian, Icelandic, Afrikaans), Romance (Portuguese, Romanian, Catalan, Galician), Baltic (Lithuanian, Latvian, Estonian), Celtic (Welsh, Scottish Gaelic), and more\n- **Asian**: Chinese (Traditional, Cantonese, Hong Kong), Mongolian, Khmer, Lao, Bengali, Punjabi, Marathi, Tamil, Telugu, Kannada, Malayalam, Odia, Urdu, Nepali, Malay, Tagalog\n- **Middle Eastern**: Persian, Hebrew, Azerbaijani, Kazakh, Uzbek, Uyghur, Tatar, Georgian\n- **African**: Swahili, Wolof, Southern Sotho\n- **Regional variants**: English (10 variants), Spanish (13 variants), German (4 variants), French (4 variants), Swedish (3 variants)\n- **Others**: Esperanto, Basque, and many more\n\n\u003c/details\u003e\n\nFor any language, replace `_claude` with your preferred language file (e.g., `_claude.ja` for Japanese).\n\n## Usage\n\nOnce installed, simply type `claude` and press `TAB` to see available completions:\n```bash\nclaude \u003cTAB\u003e              # Shows all available commands\nclaude mcp \u003cTAB\u003e          # Shows MCP subcommands\nclaude --\u003cTAB\u003e            # Shows all available options\nclaude plugin \u003cTAB\u003e       # Shows plugin subcommands\n```\n\n### Basic Examples\n```bash\n# Autocomplete main commands\nclaude m\u003cTAB\u003e  →  claude mcp\n\n# Autocomplete MCP subcommands\nclaude mcp a\u003cTAB\u003e  →  claude mcp add\n\n# Autocomplete options\nclaude --mod\u003cTAB\u003e  →  claude --model\n\n# Autocomplete with descriptions\nclaude mcp \u003cTAB\u003e\nserve                    -- Start Claude Code MCP server\nadd                      -- Add an MCP server to Claude Code\nremove                   -- Remove an MCP server\nlist                     -- List configured MCP servers\n...\n```\n\n### Dynamic Completion Examples\n```bash\n# MCP server completion (shows your configured servers)\nclaude mcp remove \u003cTAB\u003e   # Shows: server1, server2, myserver, etc.\nclaude mcp get \u003cTAB\u003e      # Shows: server1, server2, myserver, etc.\n\n# Plugin completion (shows your installed plugins)\nclaude plugin uninstall \u003cTAB\u003e   # Shows your installed plugins\nclaude plugin enable \u003cTAB\u003e      # Shows your installed plugins\n\n# Session ID completion (shows your available sessions)\nclaude --resume \u003cTAB\u003e     # Shows: 12345678-abcd-..., 87654321-dcba-..., etc.\n```\n\n## Supported Commands\n\n- Main commands: `mcp`, `plugin`, `migrate-installer`, `setup-token`, `doctor`, `update`, `install`\n- MCP commands: `serve`, `add`, `remove`, `list`, `get`, `add-json`, `add-from-claude-desktop`, `reset-project-choices`\n- Plugin commands: `validate`, `marketplace`, `install`, `uninstall`, `enable`, `disable`\n- Plugin marketplace: `add`, `list`, `remove`, `update`\n\n## Troubleshooting\n\n### Completions not working\n\n1. Make sure the completion file is in your `fpath`:\n```bash\necho $fpath\n```\n\n2. Verify the completion system is initialized in your `~/.zshrc`:\n```bash\nautoload -Uz compinit\ncompinit\n```\n\n3. Clear and rebuild completion cache:\n```bash\nrm -f ~/.zcompdump\ncompinit\n```\n\n4. Check if the completion file is loaded:\n```bash\nwhich _claude\n```\n\n### Permission issues\n\nMake sure the completion file has the correct permissions:\n```bash\nchmod 644 ~/.zsh/completions/_claude\n```\n\n### Still not working?\n\n- Ensure Claude Code CLI is installed and accessible in your PATH\n- Try restarting your terminal completely\n- Check for conflicts with other completion scripts\n\n## Contributing\n\nContributions are welcome! Please feel free to submit a Pull Request.\n\nSee [CONTRIBUTING.md](CONTRIBUTING.md) for detailed guidelines.\n\n## License\n\nThis project is licensed under the MIT License—see the [LICENSE](LICENSE) file for details.\n\n## Acknowledgments\n\n- Based on the official Claude Code CLI documentation\n- Inspired by the Zsh completion system\n- Community translations from contributors worldwide\n\n## Links\n\n- [Claude Code Documentation](https://docs.claude.com/)\n- [Zsh Completion Guide](http://zsh.sourceforge.net/Doc/Release/Completion-System.html)\n\n---\n\nMade with ❤️ for the Claude Code community\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F1160054%2Fclaude-code-zsh-completion","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F1160054%2Fclaude-code-zsh-completion","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F1160054%2Fclaude-code-zsh-completion/lists"}