Simple colors for your bash scripts
example | ||
colors.png | ||
colors.sh | ||
LICENSE | ||
readme.md |
colors.sh
Write colored text to the terminal easily.
Installation
Download colors.sh
and source it in your script or copy/paste the functions and variables into your script.
curl -O https://raw.githubusercontent.com/OzzyCzech/colors.sh/master/colors.sh
Usage
source colors.sh
# with colors.sh sourced, you can use the constants
echo "This is ${RED}red text${NC}"
License
MIT