Reputation: 20035
I tried
COMPREPLY=( '"' )
but in command line I get \"
instead. Is getting just a single double quote as a completion option possible?
Upvotes: 1
Views: 89
Reputation: 241931
No, getting just a single double quote as a completion option is not possible (as far as I know).
The completion options are shown in the form (or a form) in which they would need to be typed, and in order to get a single double quote, you would have to type \"
, so that's what bash shows you.
Upvotes: 1