it2 session title
Manage session titles
Description
Get, set, and clear session titles.
Session titles appear in the tab or window header and can be customized
to help identify different sessions.
Commands
- it2 session title clear - Clear a session's custom title
- it2 session title get - Get a session's title
- it2 session title set - Set a session's title
Options inherited from parent commands
-
--format(default "text") - Output format (text, json, yaml) - affects how command results are displayed
-
--timeout - Timeout for API operations - how long to wait for iTerm2 to respond
-
--url - WebSocket URL for iTerm2 API - typically ws://localhost:1912 for local iTerm2
See Also
- it2 session - Manage iTerm2 sessions
Examples
# Query Title
it2 session title get
# Set Title
it2 session title set sess_123 "Production Server"
# Clear Title
it2 session title clear sess_123