문제

I tried

COMPREPLY=( '"' )

but in command line I get \" instead. Is getting just a single double quote as a completion option possible?

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top