When i type something like this:
$ complete -p | grep -ie '\<man\>'
or:
$ find /etc/bash_completion.d/ -iname '*man*'
or:
$ grep -rie '\<man\>' /etc/bash_completion.d/
I don't find any trace of the complete
function for the man
command!
The goal is to add this completion for one of my own-made function:
complete -F <the_man_complete_function> <my_man_related_command>
Any idea?