contrib: Add zsh completion scripts #33402

pull mstampfer wants to merge 1 commits into bitcoin:master from mstampfer:add-zsh-completion-scripts changing 3 files +249 −0
  1. mstampfer commented at 10:40 am on September 16, 2025: none

    Adds zsh completion support using the compdef system for:

    • bitcoin-cli with RPC command completion and context-sensitive arguments
    • bitcoin-tx with option/command completion and file path handling
    • bitcoind with configuration option completion

    These complement the existing bash completion scripts and provide the same functionality for zsh users.

  2. contrib: Add zsh completion scripts for bitcoin-cli, bitcoin-tx, bitcoind
      Adds zsh completion support using the compdef system for:
      - bitcoin-cli with RPC command completion and context-sensitive arguments
      - bitcoin-tx with option/command completion and file path handling
      - bitcoind with configuration option completion
    
      These complement the existing bash completion scripts and provide
      the same functionality for zsh users.
    478ea3853e
  3. DrahtBot added the label Scripts and tools on Sep 16, 2025
  4. DrahtBot commented at 10:40 am on September 16, 2025: contributor
    ♻️ Automatically closing for now based on heuristics. Please leave a comment, if this was erroneous. Generally, please focus on creating high-quality, original content that demonstrates a clear understanding of the project’s requirements and goals.
  5. DrahtBot closed this on Sep 16, 2025

  6. DrahtBot commented at 10:40 am on September 16, 2025: contributor

    The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

    Code Coverage & Benchmarks

    For details see: https://corecheck.dev/bitcoin/bitcoin/pulls/33402.

    Reviews

    See the guideline for information on the review process. A summary of reviews will appear here.

  7. mstampfer commented at 10:50 am on September 16, 2025: none

    This PR adds zsh completion scripts for Bitcoin Core tools, converting the existing bash completions to work with zsh’s compdef system. This Improves user experience for zsh users by addressing the need for tab completion support for zsh which doesn’t rely on the existing bash completion scripts.

    The implementation maintains the same functionality as the bash versions while using zsh-native completion functions.

    I’m happy to address any concerns or make requested changes.


github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2025-09-19 12:13 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me