Add configurable terminal title prefix (e.g., project name)

Resolved 💬 2 comments Opened Jan 17, 2026 by saadiq Closed Jan 17, 2026

Claude Code's dynamic terminal title feature is great for tracking conversation context across multiple terminal windows. However, when working on multiple projects simultaneously, it's difficult to distinguish which project each Claude session belongs to.

Feature Request

Add a configuration option to prefix terminal titles with a customizable string, ideally defaulting to the project/directory name.

Example config in settings.json:

{
  "terminalTitlePrefix": "${projectName}"
}

Result

Instead of: * Investigating auth bug
Show: my-project: * Investigating auth bug

Use case

  • Multiple Claude Code sessions open across different projects
  • Quick visual identification of which project a terminal belongs to
  • Works with tiling window managers and tab-heavy workflows

Current workaround

Setting CLAUDE_CODE_DISABLE_TERMINAL_TITLE=1 and using shell hooks, but this loses the valuable conversation-context titles.

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗