{"id":15407940,"url":"https://github.com/ryanccn/vivid-zsh","last_synced_at":"2025-04-18T12:28:19.238Z","repository":{"id":165076875,"uuid":"640462109","full_name":"ryanccn/vivid-zsh","owner":"ryanccn","description":"zsh plugins for vivid","archived":false,"fork":false,"pushed_at":"2024-08-14T10:24:10.000Z","size":108,"stargazers_count":10,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-29T06:22:13.857Z","etag":null,"topics":["antidote","antigen","exa","eza","ls","lscolors","oh-my-zsh","ohmyzsh","zsh","zsh-plugin"],"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/ryanccn.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},"funding":{"ko_fi":"ryancaodev"}},"created_at":"2023-05-14T07:01:17.000Z","updated_at":"2025-01-11T16:14:04.000Z","dependencies_parsed_at":"2024-10-21T13:04:30.249Z","dependency_job_id":null,"html_url":"https://github.com/ryanccn/vivid-zsh","commit_stats":{"total_commits":20,"total_committers":3,"mean_commits":6.666666666666667,"dds":"0.15000000000000002","last_synced_commit":"55def93e57fc083d9c40a653f9e27e97a453588d"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanccn%2Fvivid-zsh","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanccn%2Fvivid-zsh/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanccn%2Fvivid-zsh/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanccn%2Fvivid-zsh/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ryanccn","download_url":"https://codeload.github.com/ryanccn/vivid-zsh/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249493167,"owners_count":21281490,"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":["antidote","antigen","exa","eza","ls","lscolors","oh-my-zsh","ohmyzsh","zsh","zsh-plugin"],"created_at":"2024-10-01T16:30:16.870Z","updated_at":"2025-04-18T12:28:19.212Z","avatar_url":"https://github.com/ryanccn.png","language":"Shell","funding_links":["https://ko-fi.com/ryancaodev"],"categories":["Plugins"],"sub_categories":["ZSH on Windows"],"readme":"# vivid-zsh\n\n[vivid](https://github.com/sharkdp/vivid) `LS_COLORS` as zsh plugins.\n\n[installable](#how-do-i-install-this) anywhere that supports git repositories as plugins.\n\n## why do i need this?\n\nsimply put, this is faster than calling an external CLI.\n\nbenchmark results via [hyperfine](https://github.com/sharkdp/hyperfine)\n\n| Command  | Mean [ms] | Min [ms] | Max [ms] |      Relative |\n| :------- | --------: | -------: | -------: | ------------: |\n| `plugin` | 0.2 ± 0.4 |      0.0 |      3.1 |          1.00 |\n| `cli`    | 3.8 ± 2.4 |      1.9 |     27.3 | 16.36 ± 27.48 |\n\n```bash\n$ hyperfine --shell \"zsh\" --warmup=5 'vivid_theme=nord source vivid-zsh.plugin.zsh' -n plugin 'export LS_COLORS=\"$(vivid generate nord)\"' -n cli\n```\n\nyes, this is faster than rust. insane.\n\n## how do i install this?\n\nit depends on what you are using for managing your zsh plugins.\n\n### antidote\n\n1. add `ryanccn/vivid-zsh` to your `.zsh_plugins.txt`\n2. set\n   ```bash\n   vivid_theme=\"\u003cname of theme\u003e\"\n   ```\n   before `antidote load`\n\n### antigen\n\n1. `antigen bundle ryanccn/vivid-zsh`\n2. set\n   ```bash\n   vivid_theme=\"\u003cname of theme\u003e\"\n   ```\n   in your `~/.zshrc` before antigen loads\n\n### oh my zsh\n\n1. clone the repo into the oh my zsh directory\n   ```bash\n   $ git clone https://github.com/ryanccn/vivid-zsh ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/vivid-zsh\n   ```\n2. add the plugin to your `~/.zshrc`\n   ```bash\n   plugins=(\n      # other plugins...\n      vivid-zsh\n   )\n   ```\n3. configure `vivid_theme=\"\u003cname of theme\u003e\"` before oh my zsh is initialized\n\n### manual (no plugin manager)\n\n1. clone the repo\n   ```bash\n   $ mkdir -p ~/.zsh\n   $ git clone https://github.com/ryanccn/vivid-zsh.git ~/.zsh/vivid-zsh\n   ```\n2. add this to your `.zshrc`\n   ```bash\n   vivid_theme=\"\u003cname of theme\u003e\"\n   source ~/.zsh/vivid-zsh/vivid-zsh.zsh\n   ```\n3. restart your shell\n\n## how does this work?\n\n- gets list of themes from vivid\n- gets each theme from vivid\n- puts them in their own zsh file with `export LS_COLORS=`\n- sources one of them depending on what you set\n\n## how do i build themes locally?\n\n1. install [vivid](https://github.com/sharkdp/vivid)\n2. run `./build.sh`\n\n## license\n\nmit\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryanccn%2Fvivid-zsh","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fryanccn%2Fvivid-zsh","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryanccn%2Fvivid-zsh/lists"}