Simple colors for your bash scripts
example | ||
.editorconfig | ||
colors.png | ||
colors.sh | ||
LICENSE | ||
README.md |
colors.sh
Write colored text to the terminal easily.
Forker from https://github.com/OzzyCzech/colors.sh
Installation
Download colors.sh
and source it in your script or copy/paste the functions and variables into your script.
wget https://git.a2s.su/iiiypuk/colors.sh/raw/branch/main/colors.sh
Usage
source colors.sh
# with colors.sh sourced, you can use the constants
echo "This is ${RED}red text${NC}"