Skip to content
Snippets Groups Projects
Commit 5ca2f3e7 authored by nimrod's avatar nimrod
Browse files

Don't fail on colored output.

parent 58e736ae
No related branches found
No related tags found
No related merge requests found
......@@ -119,45 +119,45 @@ jt () {
}
bold () {
printf '\e[1m'
printf '\e[1m' || true
echo "$@"
printf '\e[0m'
printf '\e[0m' || true
}
red () {
printf '\e[1;91m'
printf '\e[1;91m' || true
echo "$@"
printf '\e[0m'
printf '\e[0m' || true
}
green () {
printf '\e[1;92m'
printf '\e[1;92m' || true
echo "$@"
printf '\e[0m'
printf '\e[0m' || true
}
yellow () {
printf '\e[1;93m'
printf '\e[1;93m' || true
echo "$@"
printf '\e[0m'
printf '\e[0m' || true
}
blue () {
printf '\e[1;94m'
printf '\e[1;94m' || true
echo "$@"
printf '\e[0m'
printf '\e[0m' || true
}
magenta () {
printf '\e[1;95m'
printf '\e[1;95m' || true
echo "$@"
printf '\e[0m'
printf '\e[0m' || true
}
cyan () {
printf '\e[1;96m'
printf '\e[1;96m' || true
echo "$@"
printf '\e[0m'
printf '\e[0m' || true
}
deduce_aws_region () {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment