This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

Update README for wrap/unwrap

Nathan Herald (Mar 31, 2026, 11:55 PM +0200) 555fd345 6360f820

+21
+21
README.md
··· 69 69 70 70 pty restart myserver # restart an exited session 71 71 pty kill myserver # terminate a session 72 + 73 + pty wrap claude # auto-wrap claude in pty sessions 74 + pty unwrap claude # remove the wrapper 75 + pty wrap --list # show wrapped commands 76 + ``` 77 + 78 + ### Wrapping Commands 79 + 80 + `pty wrap` creates a small shell script that shadows a command so it always runs in a pty session: 81 + 82 + ```sh 83 + pty wrap claude 84 + # Now running "claude" anywhere automatically gets a persistent session 85 + ``` 86 + 87 + The wrapper uses `pty run -a` (create or attach if already running), so running the command twice in the same directory reattaches instead of creating a duplicate. 88 + 89 + Wrappers live in `~/.local/pty/bin/`. Add it to the front of your PATH: 90 + 91 + ```sh 92 + export PATH="$HOME/.local/pty/bin:$PATH" 72 93 ``` 73 94 74 95 Detach with `Ctrl+\`. (Press `Ctrl+\` twice to send it through to the process.)