Files
2025-11-30 09:02:13 +08:00

791 B

name, description, auto-approve
name description auto-approve
it2-split Create an iTerm2 split session
Bash(it2 session split:*)
Bash(it2 session send-text:*)

Create a new iTerm2 split session using it2 session split and navigate to the current directory.

Steps:

  1. Run it2 session split to create the split (auto-detects best direction)
  2. Send cd {{cwd}} to the new session to navigate to the current working directory

Usage:

Run the command and it will:

  • Create a split session
  • Navigate the new session to your current directory ({{cwd}})

Notes:

  • The split direction (horizontal/vertical) is automatically chosen based on available space
  • Use it2 session split --vertical or --horizontal to force a specific direction
  • The new session inherits your shell environment