Skip to content

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.

2 participants