augment research
foundry
From the Pleasure ParlorShell completion with live context

The COMPLETE-ME guide

Install the shell bindings, try a completion against a running tool and find out where each suggestion came from.

Preview the recorded demo

Serve the static files from the repository root.

python3 -m http.server 8766 --directory site/dist

Open localhost:8766 to replay the six shell recordings.

Install

Build from a Git checkout with Cargo. The installer checks dependencies and hooks up your installed shells. Open a new terminal when the installer finishes.

git clone https://github.com/arf-io/COMPLETE-ME.git
cd COMPLETE-ME
./install.sh

See the README installation options for unattended setup, using a binary you already have, and removal.

Shells and keys

COMPLETE-ME supports Bash 4.2 and later, zsh, and fish. Fish and zsh show descriptions alongside values. Bash’s standard Readline menu displays the values themselves.

  • Tab requests completions for the current token.
  • Alt+J opens the snippet picker. The picker uses fzf.
  • Alt+X explains the line. Alt+R opens the regex builder.

See the current shell support and key bindings.

Generated completions

When a program lacks a completion, COMPLETE-ME can derive its command grammar from help, man pages, and supported shell or Python source. The grammar describes subcommands, aliases, options, and their arguments. Live providers fill specific values on top of that grammar.

With bubblewrap installed, the help probe can use an isolated network and a read-only filesystem. The fallback follows the project’s deny list. Read about completion sources and scope.

Live providers

  • tmux a -t <Tab> lists sessions. Use work:<Tab> to see windows in the selected session.
  • docker compose logs <Tab> offers services from the selected Compose project. Containers and images have their own live slots in Docker and Podman.
  • ssh -oIdentityFile=~/.ssh/<Tab> dev@example.com offers identity paths and preserves the destination argument.
  • git config set --global user.email <Tab> offers the current value for editing.
  • proxmox lab --node pve02 qmrestore vault:<Tab> browses VM archives from storage on a configured cluster node. pct restore offers container archives.
  • aws --profile work s3 cp s3://example-bucket/logs/<Tab> ./download lists objects and prefixes in the selected AWS scope.

For more integrations, run complete-me live --coverage. The provider reference covers permissions, Proxmox SSH mappings, Kubernetes namespaces, and offline mode.

Diagnostics

Use doctor to inspect shell integration and use explain --completion for a specific slot. The report shows the lookup source, effective scope, result, and elapsed time.

complete-me doctor --line 'docker compose logs '
complete-me explain --completion --line 'tmux a -t work:'
COMPLETE_ME_NO_REMOTE=1 complete-me live --line 'aws s3 ls s3://example-bucket/logs/'

Offline mode applies to COMPLETE-ME’s providers. Native shell completions can have their own network behavior.

Fish tools

fish calls itself “a command line shell for the 90s.” With COMPLETE-ME, fish shows each tmux window name beside its number. Press Enter on a supported Bash line and fish translates and runs it. If COMPLETE-ME flags a translation for review, a second Enter runs it.

List aliases, trace commands on your PATH, save functions, and translate Bash exports to fish syntax. Start with these commands in a configured shell.

cm-alias list
cm-func list
path-why git
cm-bash2fish 'export EDITOR=nvim'

See the fish, environment, and recipe examples.

Calculator

Type 2*34= and press Tab. The answer appears in the editor. On the next line, ans/4= followed by Tab uses that answer again.

Use complete-me calc 'sqrt(144) + log(1000, 10)' when you want a calculation as a command. Trigonometric functions take radians. Use rad(90) to convert degrees.

See calculator syntax and chaining.

Testing and review

The project runs Bash, zsh, and fish tests on Linux and macOS. Linux integration checks also exercise disposable Docker, Podman, Kubernetes, and help-probe sandbox environments.

Read the verification matrix and scoped independent security review for the evidence and remaining live Proxmox and AWS checks.