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
This could be an opportunity for bash-completion to do a better job than
bash's default completion.
It could note that ${COMP_WORDS[$COMP_CWORD]} differs from the word readline thinks is being completed,
check whether readline's word is a subset of the current word,
perform completions on the current word as it does now,
and then filter out the prefix readline isn't going to use before returning the possible completions.
Describe the bug
File completion when there is an open quote fails.
I.e. "a b"/"x
To reproduce
mkdir empty
cd empty
mkdir d
touch d/f
<TAB>
Expected behavior
Get: d/f
Or: d/"f"
Versions (please complete the following information)
Additional context
Initially the problem occurred with spaces in directory and filenames.
Hence the typing of the " before the
<TAB>
.Discussion in bug-readline mailing list,
especially the message of the bash/readline maintainer, Chet Ramey:
https://lists.gnu.org/archive/html/bug-readline/2023-09/msg00018.html
Debug trace
trace.txt
The text was updated successfully, but these errors were encountered: