A good terminal setup makes managing multiple Claude sessions painless.
Terminal Choice
Ghostty is popular among the Claude Code team for its GPU-accelerated rendering, 24-bit color, and Unicode support. To add Shift+Enter support:
# ~/.config/ghostty/config
keybind = shift+enter=text:\x1b\r
For iTerm2, run /terminal-setup inside Claude Code to configure Shift+Enter automatically.
tmux Layout
Split your terminal: Claude sessions on the left, editor on the right.
# Color-code tmux tabs by task
# Tab 1 (green): Feature work
# Tab 2 (yellow): Bug fixes
# Tab 3 (blue): Research/analysis
Status Line
Use /statusline to configure what shows in your terminal status bar:
- Context window usage (%)
- Current git branch
- Token cost for the session
- Active model
Or build a custom status line script that pulls from Claude’s session data.
Shell Aliases
# Quick-launch Claude in worktrees
alias ca="cd ~/projects/my-app-a && claude"
alias cb="cd ~/projects/my-app-b && claude"
alias cc="cd ~/projects/my-app-c && claude"
# Resume last session
alias cr="claude --resume"
Tip
Enable system notifications so you know when Claude needs input, especially useful when running 3-5 sessions across tmux panes.