linux - Bash completion programming , '@' is always removed in completion string -
I am completing a bass for Gentoo, which searches for packages, sets (Portes 2.2 new feature) But one problem I found when I'm using the following command:
emerged @ pay
and I should get @ protected-libs, but Bash turns it in:
emerge pres
The first thought was that there would be a problem with my script "emerge-finder.pl", so I again Checked and this The script gave the correct output.
And next I checked the Bash script:
_portage_cmd () {COMPREPLY = (`~ / scripts / emerge-finder.pl $ {COMP_WORDS COMPPLY} before line [COMP_CWORD]} `}} full-width _portage_cmd em
and I put" echo $ {COMP_WORDS [COMP_CWORD}} ", and the" @ "character has no output, wired .
How can I remove my "@" from Bash? thanks a lot!
Can help quote or avoid ...
So cited:
emerged '@pace'
or by avoiding:
emerged @ send
Comments
Post a Comment