I want to make tab completion to complete on specific programs in path although there maybe other possible completion in path. For example, if I type mpl and tab, it should complete to mplayer though there might be other programs in the path starting with mpl. I know of bash alias builtin for ~/.bashrc but thats not what I'm looking for.
How to make a custom bash tab completion?
bash;autocomplete