1
0
Fork 0
mirror of https://github.com/notwa/rc synced 2024-11-05 08:19:03 -08:00
rc/sh/colors

10 lines
189 B
Bash
Executable file

#!/usr/bin/env bash
# YES_ZSH
# YES_BASH
# NO_DASH
colors() {
printf "\e[%dm$(printf " \e[%dm mV \e[40m" {4,10}{0..7})\e[0m\n" {3,9}{0..7}
}
[ "${SOURCING:-0}" -gt 0 ] || colors "$@"