{"id":16194376,"url":"https://github.com/muniftanjim/zed","last_synced_at":"2025-03-19T04:30:47.153Z","repository":{"id":66188160,"uuid":"425573951","full_name":"MunifTanjim/zed","owner":"MunifTanjim","description":"ZSH Plugin Manager","archived":false,"fork":false,"pushed_at":"2023-11-09T15:47:33.000Z","size":16,"stargazers_count":21,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-02-28T15:18:22.919Z","etag":null,"topics":["zsh","zsh-plugin","zsh-plugin-manager"],"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/MunifTanjim.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}},"created_at":"2021-11-07T17:45:08.000Z","updated_at":"2025-02-05T04:34:10.000Z","dependencies_parsed_at":"2023-02-25T06:45:20.011Z","dependency_job_id":"d95a9dd8-f8a4-42fb-b65d-faa690c8035f","html_url":"https://github.com/MunifTanjim/zed","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/MunifTanjim%2Fzed","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MunifTanjim%2Fzed/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MunifTanjim%2Fzed/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MunifTanjim%2Fzed/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MunifTanjim","download_url":"https://codeload.github.com/MunifTanjim/zed/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243968584,"owners_count":20376417,"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":["zsh","zsh-plugin","zsh-plugin-manager"],"created_at":"2024-10-10T08:19:11.146Z","updated_at":"2025-03-19T04:30:46.871Z","avatar_url":"https://github.com/MunifTanjim.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# zed\n\nZSH Plugin Manager. Yes, yet another one.\n\n## Installation\n\n```sh\ndeclare -A ZED\nZED[CACHE_DIR]=\"${HOME}/.cache/zsh/.zed\"\nZED[DATA_DIR]=\"${HOME}/.local/share/zsh/.zed\"\n\nif ! test -d \"${ZED[DATA_DIR]}/self\"; then\n  git clone --depth 1 https://github.com/MunifTanjim/zed.git \"${ZED[DATA_DIR]}/self\"\nfi\n\nsource \"${ZED[DATA_DIR]}/self/zed.zsh\"\n```\n\n## Usage\n\nYou should load the plugins you want after running `zed init` and before running `zed done`.\n\n**Initialization**:\n\n```sh\nzed init\n```\n\n**Normal Plugin**:\n\n```sh\nzed load github.com/momo-lab/auto-expand-alias\n\nzed load github.com/trapd00r/LS_COLORS \\\n  pick:'lscolors.sh' \\\n  onpull:'dircolors -b LS_COLORS \u003e lscolors.sh' \\\n  onload:'zstyle \":completion:*\" list-colors \"${(s.:.)LS_COLORS}\"'\n\nzed load github.com/zpm-zsh/colorize\nzed load github.com/zpm-zsh/ls\n\nzed load github.com/zsh-users/zsh-completions\nzed load github.com/zsh-users/zsh-autosuggestions\nzed load github.com/zsh-users/zsh-syntax-highlighting\n```\n\n**Generated Script**:\n\n```sh\nif (( ${+commands[zoxide]} )); then\n  zed load github.com/MunifTanjim/null name:'zoxide' \\\n    onpull:'zoxide init zsh \u003e zoxide.plugin.zsh'\nfi\n\nif (( ${+commands[starship]} )); then\n  zed load github.com/MunifTanjim/null name:'starship' \\\n    onpull:'starship init zsh --print-full-init \u003e starship.plugin.zsh'\nfi\n```\n\n**Local Script**:\n\n```\nzed load \"${HOME}/.helpers.sh\"\n```\n\n**[Oh My Zsh](https://github.com/ohmyzsh/ohmyzsh) Plugin**:\n\n```sh\nzed load github.com/ohmyzsh/ohmyzsh dir:'plugins/macos'\n```\n\n**Finalization**:\n\n```sh\nzed done\n```\n\n### Commands\n\nThe main function is named `zed`.\n\n\u003cdetails\u003e\n\n\u003csummary\u003eYou don't like that name?!\u003c/summary\u003e\n\nIn case you already have another function with the same name,\nfor example: the [`zed` command line editor](https://github.com/zsh-users/zsh/blob/master/Functions/Misc/zed),\njust set the `ZED[name]` variable to something else before\nsourcing the `zed.zsh` file.\n\n```sh\nZED[name]=zedi\n```\n\nThen `zed` will become `zedi`, and you can do:\n\n```sh\nzedi load \"${HOME}/darkside.sh\"\n```\n\n\u003c/details\u003e\n\n#### `zed init`\n\nInitialize\n\n#### `zed load`\n\nLoad plugin\n\n#### `zed done`\n\nFinalize\n\n#### `zed list`\n\nList plugin-ids\n\n#### `zed pull [plugin-id]`\n\nPull latest changes for plugins\n\n#### `zed pull-self`\n\nPull latest changes for zed itself\n\n## Alternatives\n\n_(In alphabetical order of repository names)_\n\n- [zsh-users/antigen](https://github.com/zsh-users/antigen)\n- [ohmyzsh/ohmyzsh](https://github.com/ohmyzsh/ohmyzsh)\n- [sorin-ionescu/prezto](https://github.com/sorin-ionescu/prezto)\n- [mattmc3/pz](https://github.com/mattmc3/pz)\n- [agkozak/zcomet](https://github.com/agkozak/zcomet)\n- [tarjoilija/zgen](https://github.com/tarjoilija/zgen)\n- [jandamm/zgenom](https://github.com/jandamm/zgenom)\n- [zimfw/zimfw](https://github.com/zimfw/zimfw)\n- [zplug/zplug](https://github.com/zplug/zplug)\n- [zpm-zsh/zpm](https://github.com/zpm-zsh/zpm)\n- [...more](https://github.com/unixorn/awesome-zsh-plugins#frameworks)\n\n## FAQ\n\n- _**Q**: There are so many zsh plugin managers! Why should I care about this one?_\n\n  _**A**:_ You probably shouldn't.\n\n- _**Q**: What does this this offer that the others don't?_\n\n  _**A**:_ Well, possibly nothing.\n\n- _**Q**: What does this do differently?_\n\n  _**A**:_ It doesn't really matter.\n\n- _**Q**: Why does this freaking exist?_\n\n  _**A**:_ Because, it does.\n\n## License\n\nLicensed under the MIT License. Check the [LICENSE](./LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmuniftanjim%2Fzed","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmuniftanjim%2Fzed","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmuniftanjim%2Fzed/lists"}