Install the completion scripts with each package #50

Closed
opened 2026-10-22 23:44:57 -05:00 by jeff · 0 comments
Owner

Part of #44

Installing the completion scripts.

  • Nix package: share/fish/vendor_completions.d/zfj.fish, share/bash-completion/completions/zfj, share/zsh/site-functions/_zfj, copied from src/cli/completions/ (no running zfj, so cross builds work too). Add them to the package's fileset.
  • Release archives: all four scripts in each archive, in a completions/ directory.
  • MSI: zfj.ps1 installed beside zfj.exe.
  • README: a "Shell completion" section saying what is completed (and that nothing is fetched from the instance), how each shell loads it (zfj completion fish | source, a bash-completion directory or source <(zfj completion bash), fpath for zsh, and zfj completion powershell | Out-String | Invoke-Expression in $PROFILE), and what the packages do already.
  • CONTRIBUTING: a line saying that a new command or option is completed with no extra work, since it is read from the same tables as --help.
Part of #44 Installing the completion scripts. - **Nix package:** `share/fish/vendor_completions.d/zfj.fish`, `share/bash-completion/completions/zfj`, `share/zsh/site-functions/_zfj`, copied from `src/cli/completions/` (no running zfj, so cross builds work too). Add them to the package's fileset. - **Release archives:** all four scripts in each archive, in a `completions/` directory. - **MSI:** `zfj.ps1` installed beside `zfj.exe`. - **README:** a "Shell completion" section saying what is completed (and that nothing is fetched from the instance), how each shell loads it (`zfj completion fish | source`, a bash-completion directory or `source <(zfj completion bash)`, `fpath` for zsh, and `zfj completion powershell | Out-String | Invoke-Expression` in `$PROFILE`), and what the packages do already. - **CONTRIBUTING:** a line saying that a new command or option is completed with no extra work, since it is read from the same tables as `--help`.
jeff closed this issue 2026-10-23 00:40:20 -05:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
jeff/zfj#50
No description provided.