A fuzzy command line completer called fzshell retrieves completions from user-defined sources. Why does that matter? It implies that you may now design unique completions for each task.
Disclaimer: The intended use for the tool is strictly educational and should not be used for any other purpose.
Download link: https://github.com/mnowotnik/fzshell