You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I confirmed the problem. This happens with Bash 4.3..5.3-rc1. This doesn't happen with Bash 4.2. The completion function for do seems to be called for the command line A= ./d[TAB]o.
This is not supposed to happen because the completion setting for do should be used for the arguments of do (but not the command name itself). I think this is a bug of Bash.
Describe the bug
COMP_POINT: substring expression < 0
when hitting a tab.To reproduce
A= ./do
COMP_POINT: substring expression < 0
error pops upExpected behavior
Not an error
Versions (please complete the following information)
Tested on Debian Stable (2.11-6) and Sid (2.16.0-7).
Operating system name/distribution and version: Debian Stable
bash version 5.2.15(1)-release
bash-completion version 2.11
Operating system name/distribution and version: Debian Sid
bash version 5.2.37(1)-release
bash-completion version 2.16.0
Debug trace
The text was updated successfully, but these errors were encountered: