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

feat: make where to install the completion files configurable #47

Open
1 task
wolfenrain opened this issue Jan 27, 2023 · 2 comments
Open
1 task

feat: make where to install the completion files configurable #47

wolfenrain opened this issue Jan 27, 2023 · 2 comments
Labels
feature A new feature or request p2 Important issues not at the top of the work list

Comments

@wolfenrain
Copy link
Member

Description

As a developer that does not like my system to be touched without consent from me, by any software, I love that we can disable the auto install. But it would be even better if there is an API that allows me to specify where to install. I could then hook this up on my own CLI to give my users more fine-grained control.

Requirements

  • Being able to specify where to install the auto-completion files
@wolfenrain wolfenrain added the feature A new feature or request label Jan 27, 2023
@renancaraujo
Copy link
Contributor

We have two levels in which this can be customized:

  1. The package provides an API in which CLI maintainers can customize the install location (which is pretty much what you are suggesting, I guess).
  2. The package provides an API in which the CLI users can customize the install location. For that, we can introduce a command that echoes the completion script and people can do this:
my_cli completion >> ~/.zshrc

@bartekpacia
Copy link

Looks like this issue can be closed, since (from the comment above):

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature A new feature or request p2 Important issues not at the top of the work list
Projects
Status: Backlog
Development

No branches or pull requests

4 participants