Yes I believe we are talking about the same thing, bask_completion, that is. Of course they are limits to what can be done automatically (e.g., make, kill, man, etc.)
Beside saving the hassle of writing a script, I see the following benefits: the completion script and the program are in sync (I've seen violations of this), there's less need for those getopt staff matching on prefixes of options.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Yes I believe we are talking about the same thing, bask_completion, that is. Of course they are limits to what can be done automatically (e.g., make, kill, man, etc.)
Beside saving the hassle of writing a script, I see the following benefits: the completion script and the program are in sync (I've seen violations of this), there's less need for those getopt staff matching on prefixes of options.
P.S. When I mentioned TAB-completion during my presentation in Oxford, one of the guys in audience cried "yes!" coupled with excited gesticulations :)
The shell zsh has a completion mechanism that does spell checking too.