Suggests shell commands when you type ! or !! in Pi.
- Suggests commands while you type
!or!!. - Includes a useful built-in command list.
- Can optionally learn command names from your shell history.
- Keeps normal Pi prompts unchanged.
Install it through Pi:
pi install npm:@firstpick/pi-extension-bang-command-autocompleteRestart Pi if the package does not appear in your current session.
Type ! followed by part of a shell command. Choose a suggestion, finish the command, and submit it as usual. Use !! when the output should stay out of the next model prompt.
/bang-refresh— rebuild autocomplete index./bang-status— show indexed command count, history-index status, runtime-learned command/line counts, and learned flag count.
No setup is needed for the built-in command suggestions. Suggestions from your shell history are optional; see the technical reference if you want to enable them.
See TECHNICAL.md for complete commands, configuration, compatibility, security, and troubleshooting information.
