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

other: Add autocomplete file generation #213

Merged
merged 5 commits into from
Aug 31, 2020
Merged

Conversation

ClementTsang
Copy link
Owner

@ClementTsang ClementTsang commented Aug 30, 2020

Description

A description of the change and what it does. If relevant, please provide screenshots of what results from the change:

Adds shell completion generation as part of the build, as well as tweaking install scripts/templates/CI to use them.

Many of the changes are unashamedly based on ripgrep's setup. For future reference:

Issue

If applicable, what issue does this address?

Closes: #140

Type of change

Remove the irrelevant ones:

  • Other (something else - please specify if relevant)

Test methodology

If required, please state how this was tested:

Furthermore, please tick which platforms this change was tested on:

  • Windows
  • macOS
  • Linux

Checklist

If relevant, see if the following have been met:

  • Change has been tested to work
  • Areas your change affects have been linted using rustfmt
  • Code has been self-reviewed
  • Code has been tested and no new breakage is introduced unless intended
  • Passes CI tests
  • Documentation has been added/updated if needed (README, help menu, etc.)
  • No merge conflicts arise from the change

Other information

Provide any other relevant information:

@ClementTsang ClementTsang marked this pull request as ready for review August 31, 2020 21:04
@ClementTsang ClementTsang merged commit 3431411 into master Aug 31, 2020
@ClementTsang ClementTsang deleted the shell_completion branch August 31, 2020 21:50
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.

Add option to generate shell completions
1 participant