Allow customizing the terminal tab title format

Resolved 💬 3 comments Opened Mar 25, 2026 by ymcwebdev Closed Mar 25, 2026

Problem

Claude Code's default terminal tab title is long (e.g., full-path — ✱ Claude Code — username), which gets truncated with ... at the beginning in terminals with narrow tabs. When you have multiple tabs open, you can't tell which tab is which at a glance.

/rename helps, but you have to manually do it for every session. The default title format itself should be shorter and cleaner.

Desired behavior

A setting to control the terminal title format, so the default can be something short like just the current folder name instead of the full path + "Claude Code" + username. For example:

{
  "terminalTitle": {
    "type": "command",
    "command": "basename \"$PWD\""
  }
}

Related issues

  • #17951
  • #25307

View original on GitHub ↗

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