Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork18
Make 🐚(shell) 's 💬 (`echo`) to be 🎨 easily ✨ Support ✅ sh ➕ bash ➕ zsh ➕ ksh ➕ 🐟 One simple command for vibrant text output! 💫
License
PeterDaveHello/ColorEchoForShell
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Make echo colorful with easier method. Inbash,sh,fish,ksh andzsh.
Please note thatcertain colors will really depend on the environment, my demo is under a terminal calledTerminator, you can simply install it via apt, yum, pkg or other package manager. Actually, all the colors display depend on the environment setting, but I just name/define name by the most common cases I know by far.
MENUInstallationUsageExamplesSupported shellsSupported stylesSupported colorsNotesScreenshotDemoAuthor
- Download the script, choice the one for your shell by its extension in the filename.
- For exampledist/ColorEcho.bash for bash.
- Add a line to include the script in your shell rc or run it directly:
. ./ColorEcho.bash
- echo.
StyleColor(if you are usingksh/sh, there is no.dot symbol)
- echo.Cyan
- echo.ULCyan
- echo.LightCyan
- echo.BoldCyan
- echo.BoldULCyan
- Bourne shell (sh)
- Bourne-Again shell (bash)
- Z shell (Zsh)
- Korn shell (ksh)
- Friendly interactive shell (fish)
- Bold as
Bold - Light as
Light - Underline as
UL
- Seecolor table
- If you havelolcat, you can also try
echo.Rainbow. - If you are using Mac OS, please upgrade your bash first, you can useHomebrew orMacPorts, the origin bash is too old.
ksh/shshell's color echo may rely on external/bin/echo, it may not work properly with color under BSD and Mac OS.
GPL-2.0 (GNU GENERAL PUBLIC LICENSE Version 2)
About
Make 🐚(shell) 's 💬 (`echo`) to be 🎨 easily ✨ Support ✅ sh ➕ bash ➕ zsh ➕ ksh ➕ 🐟 One simple command for vibrant text output! 💫
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Sponsor this project
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Contributors2
Uh oh!
There was an error while loading.Please reload this page.

