molovo.color/README.md
ℳichiel ℛoos 15ec6321c2
Update Readme
2017-05-26 12:48:31 +02:00

910 B

Color

A small zsh script for styling strings.

Installation

zulu install color

Or rename color.zsh to color and place it somewhere in your $PATH.

Usage

# Simple colors
color black "This string will be black"
color red "This string will be red"

# Using short names for colors
color g "This string will be green"
color y "This string will be yellow"

# Using numbers for colors
color 28 "This string will be dark green"
color 250 "This string will be light grey"

# Using styles
color black underline "This string will be black and underlined"
color r b "This string will be red and bold"

Available colors

Available Styles

  • bold (b)
  • italic (i)
  • underline (u)
  • inverse (in)
  • strikethrough (s)