Add a persistent default setting for /color

Resolved 💬 3 comments Opened Apr 21, 2026 by yizhoupan3-debug Closed Apr 24, 2026

Summary

Please add an official persistent configuration option for Claude Code's /color command.

Right now /color only applies to the current session. There does not appear to be a supported way to set a default prompt-bar color for all future sessions via ~/.claude/settings.json or another official config surface.

Problem

Users who want a consistent session color (for example, always cyan) have to run /color cyan manually every time they start a new session.

Hooks do not seem to be a proper solution here, because they can run shell/prompt/agent/http actions, but they cannot natively execute Claude slash commands like /color.

Requested feature

Please expose an official persistent configuration interface for session color, for example one of:

  • a color field in ~/.claude/settings.json
  • a /config option for default session color
  • a startup flag or environment variable for default prompt-bar color

Expected behavior

If a user sets a default color (for example cyan), every new Claude Code session should start with that color automatically, without requiring a manual /color command.

Why this helps

  • improves personal workflow consistency
  • helps visually distinguish Claude sessions from other terminals/tools
  • avoids fragile workarounds with shell automation or UI scripting

Thanks!

View original on GitHub ↗

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