Skip to content

lynxpm completion

Terminal window
lynxpm completion <bash|zsh|fish>

Generates a ready-to-source completion script. The script completes the top-level command names (including aliases like ls, ps, rm) and, for commands that target running processes (stop, restart, reload, flush, delete, show, logs), the names of the currently managed processes via a call to lynxpm list.

Internal wrapper commands (_exec-env, _exec-sandbox) are excluded from the completion table.

FlagTypeDefaultDescription
-h, --help--Show help message.
Terminal window
lynxpm completion bash > ~/.local/share/bash-completion/completions/lynxpm

Re-open your shell or source the file.

Terminal window
lynxpm completion zsh > "${fpath[1]}/_lynxpm"

Make sure compinit is called from your .zshrc.

Terminal window
lynxpm completion fish > ~/.config/fish/completions/lynxpm.fish

Fish picks it up on the next shell start.

  • Dynamic process-name completion shells out to lynxpm list at completion time. If the daemon is down you get only command-name completion.
  • The scripts are regenerated each time you run lynxpm completion — rerun after upgrades so new aliases show up.