Clap-generated shell completion failing on macOS /bin/bash with: conditional binary operator expected: syntax error near `IFS' #5430
Labels
A-completion
Area: completion generator
C-bug
Category: Updating dependencies
E-medium
Call for participation: Experience needed to fix: Medium / intermediate
Please complete the following tasks
Rust Version
Clap Version
4.5.3
Minimal reproducible code
Steps to reproduce the bug with the above code
(on a Mac)
cargo run | /bin/bash
Actual Behaviour
Output:
Expected Behaviour
Output:
Additional Context
On clap_complete 4.4.9 this works, on 4.4.10 this fails. I think that this is a regression introduced by #5336 . So the issue is probably the same as #5190 , which was fixed by #5278.
Debug Output
The text was updated successfully, but these errors were encountered: