From 3919b721cdeeee58c19ca8323490579a2318bc0c Mon Sep 17 00:00:00 2001 From: jbranchaud Date: Tue, 19 May 2026 11:20:20 -0500 Subject: [PATCH] Add Distinguish Sessions With Different Colors as a Claude Code TIL --- README.md | 3 ++- ...tinguish-sessions-with-different-colors.md | 24 +++++++++++++++++++ 2 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 claude-code/distinguish-sessions-with-different-colors.md diff --git a/README.md b/README.md index f446b28..024ed50 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ working across different projects via [VisualMode](https://www.visualmode.dev/). For a steady stream of TILs, [sign up for my newsletter](https://visualmode.kit.com/newsletter). -_1792 TILs and counting..._ +_1793 TILs and counting..._ See some of the other learning resources I work on: @@ -165,6 +165,7 @@ If you've learned something here, support my efforts writing daily TILs by ### Claude Code - [Allow Edits From The Start](claude-code/allow-edits-from-the-start.md) +- [Distinguish Sessions With Different Colors](claude-code/distinguish-sessions-with-different-colors.md) - [Monitor Usage Limits From CLI](claude-code/monitor-usage-limits-from-cli.md) - [Open Current Prompt In Default Editor](claude-code/open-current-prompt-in-default-editor.md) - [Resume Specific Session](claude-code/resume-specific-session.md) diff --git a/claude-code/distinguish-sessions-with-different-colors.md b/claude-code/distinguish-sessions-with-different-colors.md new file mode 100644 index 0000000..eea1c6e --- /dev/null +++ b/claude-code/distinguish-sessions-with-different-colors.md @@ -0,0 +1,24 @@ +# Distinguish Sessions With Different Colors + +I sometimes have several Claude Code sessions open at once. As I bounce between +tmux windows, it can sometimes be tricky to tell them apart at a glance. One way +that Claude Code can help with this is with some light styling. You can change +the accent color of a session with the `/color` command. + +Run it as is and it will choose a random color to set the session to. + +Or you can pick from any of the available colors which it will give you a hint +for if you type a space after `/color`. + +``` +/color [red|blue|green|yellow|purple|orange|pink|cyan|default] +``` + +I can run the following to set it to cyan: + +``` +/color cyan +``` + +More details on this kinds of commands can be found in the [_Commands_ +docs](https://code.claude.com/docs/en/commands).