{"id":14990692,"url":"https://github.com/ziglang/shell-completions","last_synced_at":"2025-10-03T19:13:13.676Z","repository":{"id":65848106,"uuid":"325393633","full_name":"ziglang/shell-completions","owner":"ziglang","description":"Shell completions for the Zig compiler.","archived":false,"fork":false,"pushed_at":"2024-07-08T19:14:22.000Z","size":33,"stargazers_count":60,"open_issues_count":5,"forks_count":17,"subscribers_count":8,"default_branch":"master","last_synced_at":"2024-12-24T20:07:34.954Z","etag":null,"topics":["completion","shell","zig","zsh"],"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/ziglang.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":"2020-12-29T21:47:29.000Z","updated_at":"2024-11-12T13:57:11.000Z","dependencies_parsed_at":"2024-07-08T23:54:52.407Z","dependency_job_id":null,"html_url":"https://github.com/ziglang/shell-completions","commit_stats":{"total_commits":11,"total_committers":7,"mean_commits":"1.5714285714285714","dds":0.7272727272727273,"last_synced_commit":"8d3db71e9a0497de98946b2ca2ee7e87d106607e"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ziglang%2Fshell-completions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ziglang%2Fshell-completions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ziglang%2Fshell-completions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ziglang%2Fshell-completions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ziglang","download_url":"https://codeload.github.com/ziglang/shell-completions/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":232032122,"owners_count":18462971,"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":["completion","shell","zig","zsh"],"created_at":"2024-09-24T14:20:36.743Z","updated_at":"2025-10-03T19:13:08.624Z","avatar_url":"https://github.com/ziglang.png","language":"Shell","readme":"# shell-completions\n\nShell completions for the [Zig compiler](https://github.com/ziglang/zig).\n\n## Installation for zsh\n\nThe `_zig` file needs to be included in your `$fpath`. This can be achieved in two ways:\n1. Move the `_zig` file to one of the folders listed in `$fpath`. You can list these folders with `print -l $fpath`.\n2. Add the folder containing `_zig` to the `$fpath`. This can be achieved by adding `fpath=(/path/to/this/repo/shell-completions $fpath)` to your `~/.zshrc` file (to update the current terminal run `source ~/.zshrc`).\n\nOnce the `$fpath` variable is updated, run `compinit` to rebuild `~/.zcompdump`.\n\n### Installation for Oh My Zsh\n\n1. Clone the plugin as `zig-shell-completions`\n\n```sh\ngit clone https://github.com/ziglang/shell-completions $ZSH/custom/plugins/zig-shell-completions\n```\n\n2. Add the plugin `zig-shell-completions` to `$plugin`\n\n```sh\nplugins+=(zig-shell-completions)\n```\n\n## Installation for bash\n\n```sh\ncurl -LO \"https://raw.githubusercontent.com/ziglang/shell-completions/master/_zig.bash\"\necho \". $PWD/_zig.bash\" \u003e\u003e ~/.bashrc\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fziglang%2Fshell-completions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fziglang%2Fshell-completions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fziglang%2Fshell-completions/lists"}