Skip to content

Instantly share code, notes, and snippets.

@wittman
wittman / imgopt.sh
Last active May 9, 2023 15:30
imgopt
#!/usr/bin/env bash
set -e
set -o nounset
set -o errexit
RESTORE=$(echo -en '\001\033[0m\002')
RED=$(echo -en '\001\033[00;31m\002')
GREEN=$(echo -en '\001\033[00;32m\002')
YELLOW=$(echo -en '\001\033[00;33m\002')