Skip to content

Make 🐚(shell) 's πŸ’¬ (`echo`) to be 🎨 easily ✨ Support βœ… sh βž• bash βž• zsh βž• ksh βž• 🐟 One simple command for vibrant text output! πŸ’«

License

Notifications You must be signed in to change notification settings

PeterDaveHello/ColorEchoForShell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

39 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

ColorEchoForShell

Make echo colorful with easier method. In bash, sh, fish, ksh and zsh.

Installation

  • Download the script, choice the once for your shell by its extension in the filename.
  • Add a line to include the script in your shell rc or run it directly: . ./ColorEcho.bash

Usage

  • echo.StyleColor (if you are using ksh/sh, there is no . dot symbol)

Examples

  • echo.Cyan
  • echo.ULCyan
  • echo.LightCyan
  • echo.BoldCyan
  • echo.BoldULCyan

Supported styles

  • Bold as Bold
  • Light as Light
  • Underline as UL

Supported colors

Notes

  • If you have lolcat, you can also try echo.Rainbow.
  • If you are using Mac OS, please upgrade your bash first, you can use Homebrew or MacPorts, the origin bash is too old.
  • sh shell's color echo relys on external /bin/echo, it may not work properly with color under BSD and Mac OS.

Screenshot

Screenshot

Demo

Demo

Author

Peter Dave Hello, @Twitter, @GitHub

About

Make 🐚(shell) 's πŸ’¬ (`echo`) to be 🎨 easily ✨ Support βœ… sh βž• bash βž• zsh βž• ksh βž• 🐟 One simple command for vibrant text output! πŸ’«

Topics

Resources

License

Stars

Watchers

Forks

Contributors 2

  •  
  •  

Languages