zsh completion: options and network values do not complete

Closed Beginner friendly
#58 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
68/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
shell, zsh
Domain
cli

Research direction

Start by locating the zsh completion function and reading how it passes the command line to _arguments. Add a test that presses Tab in real zsh and bash; done means zsh completes options and network values while bash behavior remains unaffected.

Written by the indexing model from the issue text.

Description

good first issue

In zsh, Tab completes the command names (btc-toolkit ver -> verify) but none of their options or values: 'tx --in' and 'block 0 -n s' complete nothing. bash is not affected. Cause: the completion function passes the whole command line to _arguments, subcommand included. A fix with a test that presses Tab in a real zsh and bash is ready for the next release.

Dominant language
Python
Stars
2
Forks
1
Avg merge
1h 48m
Merged PRs (30d)
31

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from devdavidejesus/btc-toolkit

All issues in devdavidejesus/btc-toolkit

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.