What's wrong with this entry?
Claude Code now automatically enables the "Applications in terminal may access clipboard" setting in iTerm2, making the /copy command work without manual configuration.
# Run /terminal-setup in iTerm2 — it now specifically enables clipboard access
/terminal-setup
# Or just use /copy — Claude will prompt to enable clipboard access if needed- Detects iTerm2 terminal via
TERM_PROGRAMorLC_TERMINALenvironment variables - Writes
AllowClipboardAccesspreference viadefaults writeon macOS - Reports success and reminds user to restart iTerm2
- When connected from iTerm2 via SSH, shows guidance about reaching local clipboard
- Shift+Enter is noted as natively supported in iTerm2 (no configuration needed)
/terminal-setupdescription dynamically changes to "Enable iTerm2 clipboard access for /copy" in iTerm2
iTerm2 clipboard enablement (search for "AllowClipboardAccess", "iTerm2 clipboard access already enabled")
Strings lifted out of the shipped bundle, so the claim above can be checked against them.