omp packages

@firstpick/pi-extension-bang-command-autocomplete0.2.3

Autocomplete for !<command> in Pi, with optional shell-history indexing.

firstpick Published 2 months ago MIT ~195 downloads/mo

Untested on omp

This is a pi package. No one has reported whether it works on omp yet. If you try it, add your result below.

Did it work for you?

Result

One report per person. A new report replaces your old one.

Reports 0

No reports yet.

Readme

Bang Command Autocomplete for Pi

Suggests shell commands when you type ! or !! in Pi.

Bang command autocomplete with common commands

What you can do

  • 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

Install it through Pi:

pi install npm:@firstpick/pi-extension-bang-command-autocomplete

Restart Pi if the package does not appear in your current session.

How to use it

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.

Before you start

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.

Technical details

See TECHNICAL.md for complete commands, configuration, compatibility, security, and troubleshooting information.