Skip to content

fix: run itkdev-docker-compose without TERM set - #161

Draft
yepzdk wants to merge 2 commits into
developfrom
feature/tput-without-term
Draft

yepzdk wants to merge 2 commits into
developfrom
feature/tput-without-term

Conversation

@yepzdk

@yepzdk yepzdk commented Oct 29, 2026

Copy link
Copy Markdown
Contributor

itkdev-docker-compose exits with tput: No value for $TERM and no -T specified before running any command when TERM is unset, as in CI jobs, cron, task runs and AI agents.

Changes

  • The setaf/setab colour lookups pass -Txterm-256color, like bold and normal at the top of the script already do.
  • Removed a second bold/normal assignment without -T halfway down the script. It failed the same way and overrode the first one.

Why

66663a1 added -T to bold and normal only, so the script still fails under errexit on the remaining calls.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant