Skip to content

Shell completions documented but not available in release builds #65

@joyshmitz

Description

@joyshmitz

Description

The README documents shell completions for bash, zsh, fish, and PowerShell. However, when running the completion command, it reports that completions are not supported:

$ gog completion zsh
Completion scripts not supported in this build (zsh).

Environment

  • gog version: installed via Homebrew
  • OS: macOS (Darwin 24.6.0)
  • Shell: zsh

Expected behavior

gog completion zsh should output valid zsh completion script as documented.

Actual behavior

Returns message: Completion scripts not supported in this build (zsh).

This causes errors when users follow the README instructions, e.g., adding eval "$(gog completion zsh)" to .zshrc results in:

(eval):1: no matches found: (zsh)

Suggested fix

Either:

  1. Enable completion support in release builds, or
  2. Update README to note that completions are not available in pre-built binaries

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions