https://github.com/Freed-Wu/zsh-colorize-functions
Colorize functions for bash and zsh.
https://github.com/Freed-Wu/zsh-colorize-functions
bash functions plugin zsh
Last synced: 9 months ago
JSON representation
Colorize functions for bash and zsh.
- Host: GitHub
- URL: https://github.com/Freed-Wu/zsh-colorize-functions
- Owner: Freed-Wu
- License: gpl-3.0
- Created: 2023-08-26T10:16:36.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-10-21T20:23:09.000Z (about 1 year ago)
- Last Synced: 2024-10-22T14:45:41.993Z (about 1 year ago)
- Topics: bash, functions, plugin, zsh
- Language: Shell
- Homepage:
- Size: 28.3 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
- awesome-zsh-plugins - colorize-functions - Colorizes functions for ZSH. (Plugins / ZSH on Windows)
- fucking-awesome-zsh-plugins - colorize-functions - Colorizes functions for ZSH. (Plugins / ZSH on Windows)
README
# zsh-colorize-functions
[](https://results.pre-commit.ci/latest/github/Freed-Wu/zsh-colorize-functions/main)
[](https://github.com/Freed-Wu/zsh-colorize-functions/releases)
[](https://github.com/Freed-Wu/zsh-colorize-functions/releases/latest)
[](https://github.com/Freed-Wu/zsh-colorize-functions/issues)
[](https://github.com/Freed-Wu/zsh-colorize-functions/issues?q=is%3Aissue+is%3Aclosed)
[](https://github.com/Freed-Wu/zsh-colorize-functions/pulls)
[](https://github.com/Freed-Wu/zsh-colorize-functions/pulls?q=is%3Apr+is%3Aclosed)
[](https://github.com/Freed-Wu/zsh-colorize-functions/discussions)
[](https://github.com/Freed-Wu/zsh-colorize-functions/milestones)
[](https://github.com/Freed-Wu/zsh-colorize-functions/network/members)
[](https://github.com/Freed-Wu/zsh-colorize-functions/stargazers)
[](https://github.com/Freed-Wu/zsh-colorize-functions/watchers)
[](https://github.com/Freed-Wu/zsh-colorize-functions/graphs/contributors)
[](https://github.com/Freed-Wu/zsh-colorize-functions/graphs/commit-activity)
[](https://github.com/Freed-Wu/zsh-colorize-functions/commits)
[](https://github.com/Freed-Wu/zsh-colorize-functions/releases/latest)
[](https://github.com/Freed-Wu/zsh-colorize-functions/blob/main/LICENSE)
[](https://github.com/Freed-Wu/zsh-colorize-functions)
[](https://github.com/Freed-Wu/zsh-colorize-functions)
[](https://github.com/Freed-Wu/zsh-colorize-functions)
[](https://github.com/Freed-Wu/zsh-colorize-functions)
[](https://github.com/Freed-Wu/zsh-colorize-functions)
[](https://github.com/Freed-Wu/zsh-colorize-functions)
Colorize functions for bash and zsh.


zsh's `declare` is a reversed word which cannot be overridden. You must use
`\declare`. You can use
[zsh-expand](https://github.com/MenkeTechnologies/zsh-expand)
to input `declare` to expand `\declare` automatically.

## Dependencies
- [bat](https://github.com/sharkdp/bat): this plugin will do nothing if `bat`
is not installed.
## Install
### zsh
This plugin respects
[zsh plugin standard](https://github.com/zdharma-continuum/Zsh-100-Commits-Club/blob/master/Zsh-Plugin-Standard.adoc),
so if you use any plugin manager and follow the instructions of your plugin
manager, it can be installed correctly.
### bash
```sh
. /the/path/of/this/plugin/zsh-colorize-functions.plugin.zsh
```
## Tips
This plugin [conflicts](https://github.com/akinomyoga/ble.sh/discussions/465)
with [ble.sh](https://github.com/akinomyoga/ble.sh).
## Similar Projects
- [zsh-help](https://github.com/Freed-Wu/zsh-help): colorize `XXX --help`.
- [manpager](https://github.com/Freed-Wu/manpager): colorize `man XXX` by
`export MANPAGER=manpager`.
- [lesspipe](https://github.com/wofr06/lesspipe): colorize `less XXX` by
`export LESSOPEN='|lesspipe.sh %s'`.