all repos — dotfiles @ 9613d5f64328a7b21ff49a3dcc12d8820b475fbf

my *nix dotfiles

home/bin/coltest (view raw)

 1#!/usr/bin/env bash
 2
 3BLK="\e[30m"
 4RED="\e[31m"
 5GRN="\e[32m"
 6YLW="\e[33m"
 7BLU="\e[34m"
 8PUR="\e[35m"
 9CYN="\e[36m"
10WHT="\e[37m"
11RST="\e[0m"
12
13printf '%b\n' " no color "
14printf '%b\n' "${BLK} black ${RST}   [black]"
15printf '%b\n' "${RED} red ${RST}     [red]"
16printf '%b\n' "${GRN} green ${RST}   [green]"
17printf '%b\n' "${YLW} yellow ${RST}  [yellow]"
18printf '%b\n' "${BLU} blue ${RST}    [blue]"
19printf '%b\n' "${PUR} purple ${RST}  [purple]"
20printf '%b\n' "${CYN} cyan ${RST}    [cyan]"
21printf '%b\n' "${WHT} white ${RST}   [white]"