Skip to main content

Runtime Control

pause

Temporarily disable capture and the learner. Hooks remain installed but stop recording. Useful when working on sensitive code or during large refactors where captures would be noisy.

Options

Example

Pausing is project-scoped. Other projects continue capturing normally.

resume

Re-enable capture and the learner after pausing.

Options

Example


statusline

Print [sop:on] or [sop:off] for terminal prompt integration. Designed to be embedded in your shell prompt (PS1/PROMPT) so you always know if auto-sop is active.

Options

Example

Shell Integration

Add to your .zshrc or .bashrc:
This gives you a persistent visual indicator:
The 2>/dev/null suppresses errors if auto-sop isn’t installed in the current directory, keeping your prompt clean in non-auto-sop projects.

Pause/Resume Workflow

A typical workflow when handling sensitive operations:
Your terminal prompt updates automatically if you have statusline integrated: