{"id":20162572,"url":"https://github.com/zdharma-continuum/zinit-annex-submods","last_synced_at":"2025-06-24T07:35:33.028Z","repository":{"id":43699772,"uuid":"425475020","full_name":"zdharma-continuum/zinit-annex-submods","owner":"zdharma-continuum","description":null,"archived":false,"fork":false,"pushed_at":"2023-12-04T10:38:51.000Z","size":64,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-24T02:21:56.522Z","etag":null,"topics":["zinit","zinit-annex","zsh"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zdharma-continuum.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-11-07T10:39:45.000Z","updated_at":"2022-07-18T19:25:19.000Z","dependencies_parsed_at":"2023-12-04T11:43:44.802Z","dependency_job_id":null,"html_url":"https://github.com/zdharma-continuum/zinit-annex-submods","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zdharma-continuum%2Fzinit-annex-submods","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zdharma-continuum%2Fzinit-annex-submods/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zdharma-continuum%2Fzinit-annex-submods/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zdharma-continuum%2Fzinit-annex-submods/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zdharma-continuum","download_url":"https://codeload.github.com/zdharma-continuum/zinit-annex-submods/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247749960,"owners_count":20989714,"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":["zinit","zinit-annex","zsh"],"created_at":"2024-11-14T00:25:48.933Z","updated_at":"2025-04-10T00:36:04.264Z","avatar_url":"https://github.com/zdharma-continuum.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# zinit-annex-submods\n\nAn annex (i.e., an extension for [Zinit](https://github.com/zdharma-continuum/zinit) –\n[more information](https://zdharma-continuum.github.io/zinit/wiki/Annexes/)) that allows Zinit to clone additional\nsubmodules when installing a plugin or snippet. The submodules are then automatically updated on the `zinit update ...`\ncommand.\n\n![screenshot](./images/screenshot.png)\n\n## Installation\n\nLoad as a plugin that installs the annex within Zinit:\n\n```zsh\nzinit light zinit-zsh/zinit-annex-submods\n```\n\nAfter this, you can use the `submods` ice.\n\n## Usage\n\n### Syntax\n\n```zsh\nsubmods'{user}/{plugin} -\u003e {output directory}'\n```\n\n### Example of the `submods` ice\n\n```zsh\n# Load the `zsh-autosuggestions' plugin via `autosuggestions' Prezto module\nzinit ice svn submods'zsh-users/zsh-autosuggestions -\u003e external'\nzinit snippet PZTM::autosuggestions\n```\n\n### Example of the `submods` ice and `for` syntax\n\n```zsh\n# Load the `zsh-autosuggestions' plugin via `autosuggestions' Prezto module\nzi submods'zsh-users/zsh-autosuggestions -\u003e external' for PZTM::autosuggestions\n\n# Load the`zsh-history-substring-search' plugin via Oh-My-Zsh `history-substring-search' plugin\nzi submods\"zsh-users/zsh-history-substring-search -\u003e external\" svn for OMZP::history-substring-search\n\n# Load the`zsh-completions' plugin via Oh-My-Zsh `completion' lib\nzi submods\"zsh-users/zsh-completions -\u003e external\" for OMZL::completion.zsh\n```\n\n\u003c!-- vim:set tw=85: --\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzdharma-continuum%2Fzinit-annex-submods","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzdharma-continuum%2Fzinit-annex-submods","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzdharma-continuum%2Fzinit-annex-submods/lists"}