Merge branch 'main' into label_every_resource

This commit is contained in:
Ryan Richard
2020-10-15 10:19:03 -07:00
34 changed files with 1513 additions and 92 deletions
+2 -2
View File
@@ -20,7 +20,7 @@ function tilt_mode() {
function log_note() {
GREEN='\033[0;32m'
NC='\033[0m'
if [[ $COLORTERM =~ ^(truecolor|24bit)$ ]]; then
if [[ ${COLORTERM:-unknown} =~ ^(truecolor|24bit)$ ]]; then
echo -e "${GREEN}$*${NC}"
else
echo "$*"
@@ -30,7 +30,7 @@ function log_note() {
function log_error() {
RED='\033[0;31m'
NC='\033[0m'
if [[ $COLORTERM =~ ^(truecolor|24bit)$ ]]; then
if [[ ${COLORTERM:-unknown} =~ ^(truecolor|24bit)$ ]]; then
echo -e "🙁${RED} Error: $* ${NC}"
else
echo ":( Error: $*"