Skip to content

Conversation

akinomyoga
Copy link
Collaborator

@akinomyoga akinomyoga commented Aug 10, 2025

Separated from #1357.

Fixes #1232

akinomyoga and others added 2 commits August 10, 2025 20:30
Filenames containing a special character are not properly completed
[1].  These completions generate filenames by pathname expanaion using
$cur.  However, $cur contains the word on the command line including
quotaing, such as cur='file\ with\ space.txt' and cur='"a b c.txt"'.
This patch obtains the value of "cur" using _comp_dequote.

[1] scop#1232

This patch also fixes a similar case in completions/java.

Co-authored-by: Yedaya Katsman <[email protected]>
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.14.0] rsync path completion fails if a folder name have a space
1 participant