Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Zsh completion V2 #1070

Merged
merged 1 commit into from Jun 29, 2020
Merged

Commits on Jun 29, 2020

  1. Extend Go completions and revamp zsh comp (spf13#1070)

    Replace the current Zsh completion with a Zsh completion solution based
    on Go completions. This allows to support custom completions (based
    on Go completions), but also to standardize the behavior of completion
    across all shells.
    
    Also, add support to Go completions for the bash completion annotations:
      BashCompFilenameExt (including Command.MarkFlagFilename() family)
                           - still supported by zsh
      BashCompSubdirsInDir - now supported by zsh
      BashCompOneRequiredFlag (including Command.MarkFlagRequired() family)
                           - now supported by zsh and fish
    
    Finally, remove the suggestin of the = form of flag completion.
    The = form is supported, but it will not be suggested to avoid having
    duplicated suggestions.
    marckhouzam committed Jun 29, 2020
    Copy the full SHA
    a751e83 View commit details
    Browse the repository at this point in the history