Discussion:
bash auto complete
(too old to reply)
Frank Li
2018-11-12 21:34:05 UTC
Permalink
All:

I write application, called.
I want to added auto complete.

I run complete -o nospace -C /home/lizhi/source/mfgtools/uuu/uuu uuu

Uuu <tab>, which work greatly.

But when I use sudo uuu <tab>

Report below error

-bash: compgen: warning: -C option may not work as you expect
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Best regards
Frank Li

Loading...