Skip to content

molovo/color

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 

Repository files navigation

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)

About

A small zsh script for styling strings

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages