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

doc: change bash completions to user directory #3654

Closed
wants to merge 6 commits into from

Conversation

dlech
Copy link

@dlech dlech commented Feb 5, 2021

This changes the recommendation for bash completions to install in the user's home directory instead of the global /etc which would require root access.

The expression is exactly how bash completions looks for the directory. Comes from: https://github.com/scop/bash-completion/blob/9e98e2558c0625340013b123880ebb6bedc0d1b3/bash_completion#L2262

Also a section is added about how to dynamically add the completions instead of creating a static file and describes the pros and cons of doing it that way instead.

Fixes #2295

Pull Request Check List

Resolves: #issue-number-here

  • Added tests for changed code.
  • Updated documentation for changed code.

dlech added 2 commits February 5, 2021 15:03
This changes the recommendation for bash completions to install in the user's home directory instead of the global `/etc` which would require root access.

The expression is exactly how bash completions looks for the directory. Comes from: https://github.com/scop/bash-completion/blob/9e98e2558c0625340013b123880ebb6bedc0d1b3/bash_completion#L2262

Also a section is added about how to dynamically add the completions instead of creating a static file and describes the pros and cons of doing it that way instead.

Fixes python-poetry#2295
@finswimmer finswimmer requested a review from a team February 5, 2021 21:09
@finswimmer finswimmer added the area/docs Documentation issues/improvements label Feb 5, 2021
docs/docs/index.md Outdated Show resolved Hide resolved
docs/docs/index.md Outdated Show resolved Hide resolved
dlech and others added 3 commits March 23, 2021 17:33
@dlech dlech requested a review from abn March 23, 2021 22:51
@dlech
Copy link
Author

dlech commented Mar 23, 2021

Thanks for the review. I have made the requested changes.

@dlech
Copy link
Author

dlech commented Jun 8, 2021

Anything else needed to get this merged?

@dlech
Copy link
Author

dlech commented Sep 10, 2021

Looks like this bitrotted and I don't feel like updating since it doesn't seem like it was ever going to be merged anyway.

@dlech dlech closed this Sep 10, 2021
Copy link

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 29, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area/docs Documentation issues/improvements
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Installing bash completion requires root privileges
4 participants