Well it shows that bash has the ability to customise the tab completion. I think this is a new feature of bash. Before that file-completion was hardcoded in.
Re:Fish sucks (but your shell sucks more)
by telemachos on Friday December 24, 2010 @04:44PM
(#2038056)
> Well it shows that bash has the ability to customise the tab completion. I think this is a new feature of bash.
No, I don't think it's new at all. From Ian McDonald's site, Working more productively with bash 2.x/3.x[1]:
> A relatively new feature in bash is programmable completion, which has been available since the beta version of 2.04.
Taking a quick look at Bash's official downloads site[2], Bash 2.04 was released in March of 2000.
I'm not saying that this is a significant amount of work, but the author's complaint that other shells don't do per-app completion out of the box is valid. However, there are good reasons for keeping such completion code separate from the shell itself.