Hasty Briefsbeta

Bilingual

Commanding Your Claude Code Army

a year ago
  • #productivity
  • #terminal
  • #zsh
  • Running multiple Claude Code instances can clutter terminal titles.
  • Ghostty terminal shows only 'claude' as the process name, making it hard to distinguish between instances.
  • Solution involves a ZSH setup to manage terminal titles dynamically.
  • A custom wrapper script `cly` sets terminal titles to include the current folder name and 'Claude'.
  • The script continuously resets the title to prevent Claude from changing it.
  • The wrapper also handles cleanup and restores the original terminal title after execution.
  • The setup is added to `~/.zshrc` and managed in a separate configuration file.