[Bash Completion] Generated bash completion code doesn't work for paths with spaces #1546
Labels
status: duplicate 👨🏻🤝👨🏻
A duplicate of another issue
Milestone
Here's my picocli Java code:
Here's the generated bash completion code:
The solution is to add
local IFS=$'\n'
before eachcompgen -f -- "${curr_word}"
:filebot/plugins@2e47516
I see that in the demo already in the repository here, but the latest
4.6.2
doesn't seem to generate it like that for me, and I couldn't see any recent change notes for that:picocli/src/test/resources/picocompletion-demo_completion.bash
Line 258 in d99afd2
The text was updated successfully, but these errors were encountered: