mirror of
https://github.com/jbranchaud/til
synced 2026-07-02 15:49:44 +00:00
Add Distinguish Sessions With Different Colors as a Claude Code TIL
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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).
|
||||
Reference in New Issue
Block a user