Skip to content

[bash-completion.be0] is on per default #55

Closed
wwwutz opened this issue Jul 15, 2016 · 2 comments · Fixed by #59
Closed

[bash-completion.be0] is on per default #55

wwwutz opened this issue Jul 15, 2016 · 2 comments · Fixed by #59
Assignees

Comments

@wwwutz
Copy link
Collaborator

wwwutz commented Jul 15, 2016

All login shells now have bash-completion enabled by default. This is a regression. We like to type furiously. Please make it optional.

@wwwutz
Copy link
Collaborator Author

wwwutz commented Jul 18, 2016

Maybe we should patch /etc/profile.d/bash_completion.sh in a way that only if "${XDG_CONFIG_HOME:-$HOME/.config}/bash_completion" exists, /usr/share/bash-completion/bash_completion gets sourced.

Idea behind this: If I have $HOME/.config}/bash_completion then I want bash completion.

pmenzel added a commit that referenced this issue Jul 18, 2016
As the completions have sometimes unwanted behavior, confusing a user,
turn it off by default.

Move the shell script to the doc directory, where the users can copy it
from into their own profile directory.

Fixes: #55 ([bash-completion.be0] is on per default )
@pmenzel
Copy link
Collaborator

pmenzel commented Jul 18, 2016

That is one way. On the other hand, let’s first restore old behavior and document for the user, how they can turn the functionality on.

Sign in to join this conversation on GitHub.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants