b35d5f
#!/bin/sh
b35d5f
b35d5f
case "$1" in
b35d5f
    -c | --interactive-color)
b35d5f
        ! grep -qsi "^COLOR.*none" /etc/GREP_COLORS
b35d5f
        ;;
b35d5f
    *)
b35d5f
        echo >&2 "Invalid / no option passed, so far only -c | --interactive-color is supported."
b35d5f
        exit 1
b35d5f
        ;;
b35d5f
esac