# Pi Prompt History

<a href="https://www.npmjs.com/package/@zigai/pi-prompt-history"><img alt="npm version" src="https://img.shields.io/npm/v/@zigai/pi-prompt-history.svg?color=blue" style="display:inline-block;border:0" /></a> <a href="https://www.npmjs.com/package/@zigai/pi-prompt-history"><img alt="npm downloads" src="https://img.shields.io/npm/dm/@zigai/pi-prompt-history.svg" style="display:inline-block;border:0" /></a> <a href="https://github.com/zigai/pi-tweaks/blob/master/LICENSE"><img alt="license" src="https://img.shields.io/npm/l/@zigai/pi-prompt-history.svg" style="display:inline-block;border:0" /></a>

Current-session prompt history for Pi's prompt editor.

## Install

```sh
pi install npm:@zigai/pi-prompt-history
```

## Features

- Restores user prompt history from the current session's active branch.
- Keeps prompt recall isolated from every other session, including sessions in the same project.
- Preserves Pi app-level editor keybindings while augmenting the editor history.

## License

MIT
