#!/usr/bin/env bash -eo pipefail # Taken from: https://apple.stackexchange.com/questions/344401/how-to-programatically-set-terminal-theme-profile theme=$(