Shell completion not working yet #1

Open
opened 2026-09-30 09:48:14 +02:00 by thomas · 0 comments
Owner

Bug: Tab completion for dlv does not work yet (after dlv init).

The tool itself is fully usable without completion; this only affects convenience.

Expected: dlv build <TAB>, --module <TAB> (modules in FILE), --clock <TAB> (1-bit inputs) complete.

Suspects to check:

  • argcomplete finds the PYTHON_ARGCOMPLETE_OK marker in the console_scripts wrapper? (_ARC_DEBUG=1)
  • bash: bash-completion loads ~/.local/share/bash-completion/completions/dlv?
  • zsh: ~/.local/share/zsh/site-functions in fpath before compinit?
  • dlv from uv tool / venv in PATH during completion?

Found in v0.1.0.

**Bug:** Tab completion for `dlv` does not work yet (after `dlv init`). The tool itself is fully usable without completion; this only affects convenience. **Expected:** `dlv build <TAB>`, `--module <TAB>` (modules in FILE), `--clock <TAB>` (1-bit inputs) complete. **Suspects to check:** - argcomplete finds the `PYTHON_ARGCOMPLETE_OK` marker in the console_scripts wrapper? (`_ARC_DEBUG=1`) - bash: bash-completion loads `~/.local/share/bash-completion/completions/dlv`? - zsh: `~/.local/share/zsh/site-functions` in `fpath` before `compinit`? - `dlv` from uv tool / venv in PATH during completion? Found in v0.1.0.
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: OpenSource/dlv#1