Skip to content

installer: enable shell autocomplete on installation of doublezero#3788

Merged
ben-dz merged 1 commit into
mainfrom
bdz/cli-autocomplete
May 28, 2026
Merged

installer: enable shell autocomplete on installation of doublezero#3788
ben-dz merged 1 commit into
mainfrom
bdz/cli-autocomplete

Conversation

@ben-dz
Copy link
Copy Markdown
Contributor

@ben-dz ben-dz commented May 28, 2026

Summary of Changes

  • Generate bash, zsh, and fish completion scripts as a post-build hook for both the testnet and mainnet-beta doublezero CLI builds.
  • Package the generated completions into the nfpm output so they install to the standard system paths (/usr/share/bash-completion/completions/, /usr/share/zsh/site-functions/, /usr/share/fish/vendor_completions.d/).
  • Recommend bash-completion as a package dependency so deb/rpm installers pull it in when available.

Testing Verification

  • built a snapshot, deployed it and tested funcitonality.

Copy link
Copy Markdown
Contributor

@juan-malbeclabs juan-malbeclabs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ben-dz ben-dz force-pushed the bdz/cli-autocomplete branch from 6eeb261 to 46ff501 Compare May 28, 2026 17:07
@ben-dz ben-dz merged commit 937cfa6 into main May 28, 2026
33 checks passed
@ben-dz ben-dz deleted the bdz/cli-autocomplete branch May 28, 2026 18:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants