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

support for bash-completions #48

Merged
merged 1 commit into from
Nov 24, 2020
Merged

support for bash-completions #48

merged 1 commit into from
Nov 24, 2020

Conversation

zimbatm
Copy link
Member

@zimbatm zimbatm commented Nov 22, 2020

The bash-completions package automatically finds the right completion scripts by
looking into XDG_DATA_DIRS. Probably other programs respecting XDG specs
can also benefit from setting that environment variable.

Thanks to NixOS/nixpkgs#103501 for finding that
gem.

@zimbatm zimbatm changed the title support for XDG apps support for bash-completions Nov 24, 2020
The bash-completions package automatically finds the right completion
scripts by looking into XDG_DATA_DIRS. Probably other programs
respecting XDG specs can also benefit from setting that environment
variable.

Thanks to NixOS/nixpkgs#103501 for finding that
gem.
@zimbatm zimbatm merged commit 8a8a2af into master Nov 24, 2020
@zimbatm zimbatm deleted the xdg-data-dirs branch November 24, 2020 21:52
@blaggacao
Copy link
Contributor

Quick breadcrumb trail (potentially working) for zsh https://stackoverflow.com/questions/25290751/where-to-place-zsh-autocompletion-script-on-linux

tennox pushed a commit to tennox/devshell that referenced this pull request May 17, 2022
The bash-completions package automatically finds the right completion
scripts by looking into XDG_DATA_DIRS. Probably other programs
respecting XDG specs can also benefit from setting that environment
variable.

Thanks to NixOS/nixpkgs#103501 for finding that
gem.
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.

None yet

2 participants