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

Add ~/.local/share/bash-completion/completions to the README #57

Merged
merged 1 commit into from
Dec 16, 2023

Conversation

postmodern
Copy link
Contributor

@postmodern postmodern commented Dec 16, 2023

~/.local/share/bash-completion/completions is the XDG directory for bash completions installed by the user.

…completion installation dirs

`~/.local/share/bash-completion/completions` is the XDG directory for bash completions installed by the user.
@postmodern postmodern changed the title Add ~/.local/share/bash-completion/completions to the list of bash … Add ~/.local/share/bash-completion/completions to the README Dec 16, 2023
@DannyBen
Copy link
Owner

Thanks.

  1. Do you have a reference that lists this directory as a common location?
  2. We should probably also add it to the list of directories that are used by the installer:
    @target_directories ||= %W[
    /usr/share/bash-completion/completions
    /usr/local/etc/bash_completion.d
    #{Dir.home}/.bash_completion.d
    ]

@postmodern
Copy link
Contributor Author

@DannyBen there are a few Google search results:

  1. https://github.com/scop/bash-completion/blob/master/README.md#faq
  2. A StackOverflow comment explaining when .local/share/bach-completion/completion was added to replace ~/.bash_completion.d.
    https://serverfault.com/a/831184

@DannyBen DannyBen merged commit d10e78c into DannyBen:master Dec 16, 2023
6 checks passed
@DannyBen
Copy link
Owner

Thanks.

Merged and added to the installer as well.

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.

2 participants