Hello, I've been trying to achieve in bash a completion similar to what you can have in zsh but I'm having problems with the output I get from the completion. Is there a way to suppress it?
It would be useful to have an option, lets say -N, that suppresses the output from the $COMPREPLY, as when invoked from a -F option. For example complete -o default -N -F _func func will still print the matches for the default readline completion, but not if the matches comes from the function _func. In this way we can implement a formatted list of suggestions, to include useful information, and not only the hints. If there is already a way to achieve something similar please let me know. Thank you very much.