title() {
  if [ -t 1 ]; then
    printf '\e[1m==== %s ====\e[0m\n' "$@"
  else
    printf '==== %s ====\n' "$@"
  fi
}
