bash-completion
bash-completion copied to clipboard
Trying to complete the . builtin doesn't work
Describe the bug
When trying to find completions for the . builtin command, the below messages appear:
bash_completion: /usr/share//bash-completion/completions/.: is a directory
bash_completion: /usr/share/bash-completion/completions/.: is a directory
These messages only appear when trying to find completions for . the first time.
To reproduce
- Run bash
- Type
., including the trailing space - Press tab
Expected behavior
Completions for the . builtin should appear
Versions (please complete the following information)
- [x] Operating system name/distribution and version: Arch Linux
- [x] bash version,
echo "$BASH_VERSION": 5.1.16(1)-release - [x] bash-completion version,
(IFS=.; echo "${BASH_COMPLETION_VERSINFO[*]}"): 2.11.0
Additional context
I'm using the bash-completion-git package from the AUR, which uses the latest code from the master branch. Using the normal bash-completion package which uses version 2.11 doesn't have this issue.