{"id":13897774,"url":"https://github.com/tamago324/cmp-zsh","last_synced_at":"2025-07-17T14:32:48.231Z","repository":{"id":44919902,"uuid":"413015546","full_name":"tamago324/cmp-zsh","owner":"tamago324","description":"nvim-cmp source for zsh","archived":false,"fork":false,"pushed_at":"2023-09-01T16:42:35.000Z","size":16,"stargazers_count":71,"open_issues_count":3,"forks_count":5,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-07-14T20:18:45.917Z","etag":null,"topics":["nvim-cmp"],"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/tamago324.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}},"created_at":"2021-10-03T08:08:37.000Z","updated_at":"2025-06-09T02:16:00.000Z","dependencies_parsed_at":"2024-11-25T09:03:49.185Z","dependency_job_id":null,"html_url":"https://github.com/tamago324/cmp-zsh","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tamago324/cmp-zsh","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tamago324%2Fcmp-zsh","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tamago324%2Fcmp-zsh/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tamago324%2Fcmp-zsh/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tamago324%2Fcmp-zsh/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tamago324","download_url":"https://codeload.github.com/tamago324/cmp-zsh/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tamago324%2Fcmp-zsh/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265616872,"owners_count":23798913,"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","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":["nvim-cmp"],"created_at":"2024-08-06T18:03:51.808Z","updated_at":"2025-07-17T14:32:47.977Z","avatar_url":"https://github.com/tamago324.png","language":"Shell","funding_links":[],"categories":["Shell"],"sub_categories":[],"readme":"# cmp-zsh\n\nZsh completion source for [nvim-cmp](https://github.com/hrsh7th/nvim-cmp)\n\n## Requirements\n\n* [Neovim](https://github.com/neovim/neovim/)\n* [nvim-cmp](https://github.com/hrsh7th/nvim-cmp)\n* zsh/zpty module\n\n```zsh\nzmodload zsh/zpty\n```\n\n## Installation\n\n```vim\nPlug 'hrsh7th/nvim-cmp'\nPlug 'tamago324/cmp-zsh'\nPlug 'Shougo/deol.nvim'      \" recommended to use together.\n\nlua \u003c\u003c EOF\nrequire'cmp'.setup {\n  -- ...\n  sources = {\n    { name = 'zsh' }\n  }\n}\nEOF\n```\n\n## Configuration\n\nIt saves compdump file in `$CMP_ZSH_CACHE_DIR` or `$XDG_CACHE_HOME` or\n`$HOME/.cache` directory.\n\nIn order to show completions defined in your zshrc you can setup cmp zsh like this.\n*Note*: This feature is experimental. If you enable it and don't get any\nresults try disabling it.\n\n```lua\nrequire'cmp_zsh'.setup {\n  zshrc = true, -- Source the zshrc (adding all custom completions). default: false\n  filetypes = { \"deoledit\", \"zsh\" } -- Filetypes to enable cmp_zsh source. default: {\"*\"}\n}\n```\n\nAlternatively you can use this trick (if sourcing your zshrc is very slow):\nAdd the directory of the complete function to `$FPATH` in `~/.zshenv`.\n\n```zsh\n# completions\nif [ -d $HOME/.zsh/comp ]; then\n    export FPATH=\"$HOME/.zsh/comp:$FPATH\"\nfi\n```\n\n\n## Credit\n\n* [deoplete-zsh](https://github.com/deoplete-plugins/deoplete-zsh)\n* [zsh-capture-completion](https://github.com/Valodim/zsh-capture-completion)\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftamago324%2Fcmp-zsh","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftamago324%2Fcmp-zsh","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftamago324%2Fcmp-zsh/lists"}