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

Complete bug IDs where appropriate #531

Merged
merged 5 commits into from May 1, 2022

Commits on May 1, 2022

  1. Add command-specific argument completions

    Complete bug IDs, bridges, users, labels where appropriate.
    
    This works in bash and fish. ZSH is not yet supported by Cobra.
    In fish, descriptions (the part of a completion after the "\t") are shown
    as completion label, and can be searched with Ctrl+S.
    
    Reproduce with
    
    	fish -C 'source misc/fish_completion/git-bug'
    	git bug select ^I
    
    (tested with fish version 3.3.1)
    
    Also works with bash, but only for "git-bug" (with the dash)
    
    	bash --rcfile <(echo source misc/bash_completion/git-bug)
    	git-bug select ^I
    
    Closes MichaelMure#493
    krobelus authored and MichaelMure committed May 1, 2022
    Configuration menu
    Copy the full SHA
    bc6ba02 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f25690d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    edc8b75 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b9991d8 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    3d534a7 View commit details
    Browse the repository at this point in the history