Skip to content

Fix lazy loading bash_completion from XDG_DATA_DIRS#983

Merged
spacewander merged 1 commit intotj:masterfrom
SuperSandro2000:patch-1
Jul 12, 2022
Merged

Fix lazy loading bash_completion from XDG_DATA_DIRS#983
spacewander merged 1 commit intotj:masterfrom
SuperSandro2000:patch-1

Conversation

@SuperSandro2000
Copy link
Copy Markdown
Contributor

If a bash_completion file should get lazy loaded and is placed in a none standard directory which is listed in XDG_DATA_DIRS it must be placed under share/bash-completion/completions. This is for example used in home-manager.

See https://github.com/scop/bash-completion/blob/730368b35aeb7f9b7eec62ff0e19b1bd8b385961/bash_completion#L2531

If a bash_completion file should get lazy loaded and is placed in a none standard directory which is listed in XDG_DATA_DIRS it must be placed under share/bash-completion/completions. This is for example used in home-manager.

See https://github.com/scop/bash-completion/blob/730368b35aeb7f9b7eec62ff0e19b1bd8b385961/bash_completion#L2531
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