{"id":17006105,"url":"https://github.com/duologic/jb-index","last_synced_at":"2025-03-22T10:50:01.954Z","repository":{"id":177127805,"uuid":"656382599","full_name":"Duologic/jb-index","owner":"Duologic","description":"This is a zsh-completion definition (compdef) for jsonnet-bundler and a few scripts to support this.","archived":false,"fork":false,"pushed_at":"2023-06-22T20:39:40.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-27T10:43:30.116Z","etag":null,"topics":["jsonnet-bundler","zsh-completion"],"latest_commit_sha":null,"homepage":"","language":"Jsonnet","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Duologic.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2023-06-20T20:57:24.000Z","updated_at":"2023-06-21T08:51:12.000Z","dependencies_parsed_at":"2023-07-22T18:01:49.095Z","dependency_job_id":null,"html_url":"https://github.com/Duologic/jb-index","commit_stats":null,"previous_names":["duologic/jb-index"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Duologic%2Fjb-index","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Duologic%2Fjb-index/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Duologic%2Fjb-index/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Duologic%2Fjb-index/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Duologic","download_url":"https://codeload.github.com/Duologic/jb-index/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244945591,"owners_count":20536296,"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":["jsonnet-bundler","zsh-completion"],"created_at":"2024-10-14T05:05:01.108Z","updated_at":"2025-03-22T10:50:01.949Z","avatar_url":"https://github.com/Duologic.png","language":"Jsonnet","funding_links":[],"categories":[],"sub_categories":[],"readme":"# jb-index\n\nThis is a zsh-completion definition (compdef) for [jsonnet-bundler](https://github.com/jsonnet-bundler/jsonnet-bundler/) and a few scripts to support this.\n\n`jb update` completion works out of the box, it'll look for entries in the `jsonnetfile.lock.json` file in the current directory.\n\nFor `jb install` we first need to render an index.jsonnet file with an array of `jsonnetfile.json` imports. I currently render this with `update-index.sh`, which finds all `jsonnetfile.json` in `~/git` for me to construct a nice index.\n\n## install\n\nGenerate `_jb`:\n\n```\n./update-index.sh\n./install.sh\n```\n\nSymlink the compdef:\n\n```\nln -sfn $PWD/_jb ~/.zsh/zsh-completions\n```\n\nUpdate `fpath` and load `compinit`:\n\n```\nfpath=($HOME/.zsh-completions $fpath)\nautoload -U compinit\ncompinit\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fduologic%2Fjb-index","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fduologic%2Fjb-index","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fduologic%2Fjb-index/lists"}