Run shell commands from inside a session

interface & shortcuts

// what it does

/shell enters Shell Mode (aliases /sh and /run) where commands run in your login $SHELL from the CLI's working directory. Each command has a 30-second timeout and must be non-interactive — no prompts or long-running servers. Ctrl+O expands output that was truncated for display; Escape or Ctrl+C on an empty input exits Shell Mode.

// shortcut

Ctrl+O

// shell

$ /shell
$ /run npm test

// gotcha

Every command runs in a fresh subshell, so a bare cd does not persist — chain it, as in cd subdir && npm test, to run something in another directory.

// resources