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

Sudo-less user install #34

Closed
BrenekH opened this issue Jun 3, 2022 · 0 comments · Fixed by #37
Closed

Sudo-less user install #34

BrenekH opened this issue Jun 3, 2022 · 0 comments · Fixed by #37
Assignees
Labels
enhancement New feature or request investigate Investigate whether or not issue is usable/feasible
Milestone

Comments

@BrenekH
Copy link

BrenekH commented Jun 3, 2022

Requiring sudo for a user install isn't best practice for security and flexibility reasons.

The current reason that sudo is required (as far as I can tell) is for the installation of the Bash completions. If a flag were introduced that controlled whether or not the completions were installed (either --no-completions or --completions, depending on the default behavior), that would allow a user to choose whether or not to install with sudo.

Obviously, the perfect solution here would be to put the completions in a user directory, but I am unsure if Bash has this ability.

@brhahlen brhahlen self-assigned this Jun 7, 2022
@brhahlen brhahlen added enhancement New feature or request investigate Investigate whether or not issue is usable/feasible labels Jun 7, 2022
@brhahlen brhahlen added this to the 2.0.0 milestone Jun 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request investigate Investigate whether or not issue is usable/feasible
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants