Enjoy your CUI life with text-decoration!
- foreground and background 256-colors
- support normal colors, default color, and bright colors
- support underline, blink, and reverse
- input can be as parameter, pipe, or redirect
- no need to reset unlike zsh's
colors
ortput
antigen bundle amutake/deco.zsh
antigen apply
git clone git://github.com/amutake/deco.zsh /path/to/deco.zsh
source /path/to/deco.zsh/deco.plugins.zsh # edit your .zshrc and put this line
deco [options] text
command | deco [options]
deco [options] < file
Set foreground color. Available <color>
attributes are the followings.
default
black
,red
,green
,yellow
,blue
,magenta
,cyan
,white
bright-black
,bright-red
,bright-green
,bright-yellow
,bright-blue
,bright-magenta
,bright-cyan
,bright-white
- 0 to 255
Set background color. See --foreground
section for available <color>
attributes.
Draw underline.
Blink text.
Reverse foreground color and background color.
Print text without newline.
Show help text and exit.
Show the version and exit.
MIT