Closed
Description
Describe the bug
When completing make foo/<Tab>
, a target named foo/bar
gets listed as just bar
, and completing it removes the foo/
prefix.
Also, completing foo<Tab>
inserts a slash and a space. It should not insert a space, just like filename completion works.
To reproduce
git clone --depth=1 https://github.com/NixOS/nix
cd nix
make tests/<Tab>
Versions (please complete the following information)
- Operating system name/distribution and version: NixOS unstable
- bash version,
echo "$BASH_VERSION"
: 5.1.16(1)-release - bash-completion version,
(IFS=.; echo "${BASH_COMPLETION_VERSINFO[*]}")
: 2.11