Using bash-completion

You can use readline() to get completion on filenames.
However, I would want to complete commands, program options and files associated with the program (by instance, by extension)
It would be a lot better if I could simply let bash to handle the input operation and get that result.

¿How may I do that?


http://linux.die.net/man/3/readline
Topic archived. No new replies allowed.