{"id":17720597,"url":"https://github.com/freed-wu/zsh-colorize-functions","last_synced_at":"2025-09-19T04:31:52.111Z","repository":{"id":195661668,"uuid":"683361096","full_name":"Freed-Wu/zsh-colorize-functions","owner":"Freed-Wu","description":"Colorize functions for bash and zsh.","archived":false,"fork":false,"pushed_at":"2024-10-21T20:23:09.000Z","size":29,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-10-22T14:45:41.993Z","etag":null,"topics":["bash","functions","plugin","zsh"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Freed-Wu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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":{"custom":["https://user-images.githubusercontent.com/32936898/199681341-1c5cfa61-4411-4b67-b268-7cd87c5867bb.png","https://user-images.githubusercontent.com/32936898/199681363-1094a0be-85ca-49cf-a410-19b3d7965120.png","https://user-images.githubusercontent.com/32936898/199681368-c34c2be7-e0d8-43ea-8c2c-d3e865da6aeb.png"]}},"created_at":"2023-08-26T10:16:36.000Z","updated_at":"2024-07-06T14:11:57.000Z","dependencies_parsed_at":null,"dependency_job_id":"8c5d9a9d-4314-4219-a28e-28a41a3d0861","html_url":"https://github.com/Freed-Wu/zsh-colorize-functions","commit_stats":null,"previous_names":["freed-wu/zsh-colorize-functions"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Freed-Wu%2Fzsh-colorize-functions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Freed-Wu%2Fzsh-colorize-functions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Freed-Wu%2Fzsh-colorize-functions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Freed-Wu%2Fzsh-colorize-functions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Freed-Wu","download_url":"https://codeload.github.com/Freed-Wu/zsh-colorize-functions/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":233446253,"owners_count":18677485,"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":["bash","functions","plugin","zsh"],"created_at":"2024-10-25T15:28:23.848Z","updated_at":"2025-09-19T04:31:46.790Z","avatar_url":"https://github.com/Freed-Wu.png","language":"Shell","funding_links":["https://user-images.githubusercontent.com/32936898/199681341-1c5cfa61-4411-4b67-b268-7cd87c5867bb.png","https://user-images.githubusercontent.com/32936898/199681363-1094a0be-85ca-49cf-a410-19b3d7965120.png","https://user-images.githubusercontent.com/32936898/199681368-c34c2be7-e0d8-43ea-8c2c-d3e865da6aeb.png"],"categories":[],"sub_categories":[],"readme":"# zsh-colorize-functions\n\n[![pre-commit.ci status](https://results.pre-commit.ci/badge/github/Freed-Wu/zsh-colorize-functions/main.svg)](https://results.pre-commit.ci/latest/github/Freed-Wu/zsh-colorize-functions/main)\n\n[![github/downloads](https://shields.io/github/downloads/Freed-Wu/zsh-colorize-functions/total)](https://github.com/Freed-Wu/zsh-colorize-functions/releases)\n[![github/downloads/latest](https://shields.io/github/downloads/Freed-Wu/zsh-colorize-functions/latest/total)](https://github.com/Freed-Wu/zsh-colorize-functions/releases/latest)\n[![github/issues](https://shields.io/github/issues/Freed-Wu/zsh-colorize-functions)](https://github.com/Freed-Wu/zsh-colorize-functions/issues)\n[![github/issues-closed](https://shields.io/github/issues-closed/Freed-Wu/zsh-colorize-functions)](https://github.com/Freed-Wu/zsh-colorize-functions/issues?q=is%3Aissue+is%3Aclosed)\n[![github/issues-pr](https://shields.io/github/issues-pr/Freed-Wu/zsh-colorize-functions)](https://github.com/Freed-Wu/zsh-colorize-functions/pulls)\n[![github/issues-pr-closed](https://shields.io/github/issues-pr-closed/Freed-Wu/zsh-colorize-functions)](https://github.com/Freed-Wu/zsh-colorize-functions/pulls?q=is%3Apr+is%3Aclosed)\n[![github/discussions](https://shields.io/github/discussions/Freed-Wu/zsh-colorize-functions)](https://github.com/Freed-Wu/zsh-colorize-functions/discussions)\n[![github/milestones](https://shields.io/github/milestones/all/Freed-Wu/zsh-colorize-functions)](https://github.com/Freed-Wu/zsh-colorize-functions/milestones)\n[![github/forks](https://shields.io/github/forks/Freed-Wu/zsh-colorize-functions)](https://github.com/Freed-Wu/zsh-colorize-functions/network/members)\n[![github/stars](https://shields.io/github/stars/Freed-Wu/zsh-colorize-functions)](https://github.com/Freed-Wu/zsh-colorize-functions/stargazers)\n[![github/watchers](https://shields.io/github/watchers/Freed-Wu/zsh-colorize-functions)](https://github.com/Freed-Wu/zsh-colorize-functions/watchers)\n[![github/contributors](https://shields.io/github/contributors/Freed-Wu/zsh-colorize-functions)](https://github.com/Freed-Wu/zsh-colorize-functions/graphs/contributors)\n[![github/commit-activity](https://shields.io/github/commit-activity/w/Freed-Wu/zsh-colorize-functions)](https://github.com/Freed-Wu/zsh-colorize-functions/graphs/commit-activity)\n[![github/last-commit](https://shields.io/github/last-commit/Freed-Wu/zsh-colorize-functions)](https://github.com/Freed-Wu/zsh-colorize-functions/commits)\n[![github/release-date](https://shields.io/github/release-date/Freed-Wu/zsh-colorize-functions)](https://github.com/Freed-Wu/zsh-colorize-functions/releases/latest)\n\n[![github/license](https://shields.io/github/license/Freed-Wu/zsh-colorize-functions)](https://github.com/Freed-Wu/zsh-colorize-functions/blob/main/LICENSE)\n[![github/languages](https://shields.io/github/languages/count/Freed-Wu/zsh-colorize-functions)](https://github.com/Freed-Wu/zsh-colorize-functions)\n[![github/languages/top](https://shields.io/github/languages/top/Freed-Wu/zsh-colorize-functions)](https://github.com/Freed-Wu/zsh-colorize-functions)\n[![github/directory-file-count](https://shields.io/github/directory-file-count/Freed-Wu/zsh-colorize-functions)](https://github.com/Freed-Wu/zsh-colorize-functions)\n[![github/code-size](https://shields.io/github/languages/code-size/Freed-Wu/zsh-colorize-functions)](https://github.com/Freed-Wu/zsh-colorize-functions)\n[![github/repo-size](https://shields.io/github/repo-size/Freed-Wu/zsh-colorize-functions)](https://github.com/Freed-Wu/zsh-colorize-functions)\n[![github/v](https://shields.io/github/v/release/Freed-Wu/zsh-colorize-functions)](https://github.com/Freed-Wu/zsh-colorize-functions)\n\nColorize functions for bash and zsh.\n\n![bash-declare](https://github.com/Freed-Wu/Freed-Wu/assets/32936898/2dcb75f2-11e4-429a-b04d-15c259973423)\n\n![zsh-functions](https://github.com/Freed-Wu/Freed-Wu/assets/32936898/86cc3c41-f61a-4066-8672-b65d9749d9c1)\n\nzsh's `declare` is a reversed word which cannot be overridden. You must use\n`\\declare`. You can use\n[zsh-expand](https://github.com/MenkeTechnologies/zsh-expand)\nto input `declare` to expand `\\declare` automatically.\n\n![zsh-declare](https://github.com/Freed-Wu/Freed-Wu/assets/32936898/b6c40553-ddb4-4976-955d-695802f8b8ca)\n\n## Dependencies\n\n- [bat](https://github.com/sharkdp/bat): this plugin will do nothing if `bat`\n  is not installed.\n\n## Install\n\n### zsh\n\nThis plugin respects\n[zsh plugin standard](https://github.com/zdharma-continuum/Zsh-100-Commits-Club/blob/master/Zsh-Plugin-Standard.adoc),\nso if you use any plugin manager and follow the instructions of your plugin\nmanager, it can be installed correctly.\n\n### bash\n\n```sh\n. /the/path/of/this/plugin/zsh-colorize-functions.plugin.zsh\n```\n\n## Tips\n\nThis plugin [conflicts](https://github.com/akinomyoga/ble.sh/discussions/465)\nwith [ble.sh](https://github.com/akinomyoga/ble.sh).\n\n## Similar Projects\n\n- [zsh-help](https://github.com/Freed-Wu/zsh-help): colorize `XXX --help`.\n- [manpager](https://github.com/Freed-Wu/manpager): colorize `man XXX` by\n  `export MANPAGER=manpager`.\n- [lesspipe](https://github.com/wofr06/lesspipe): colorize `less XXX` by\n  `export LESSOPEN='|lesspipe.sh %s'`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffreed-wu%2Fzsh-colorize-functions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffreed-wu%2Fzsh-colorize-functions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffreed-wu%2Fzsh-colorize-functions/lists"}