3 ms·
That's your distro, however, not Bash itself. On OSX (for example), you must install bash_completion and source it. I'm not saying that this is a significant a
by telemachos 16y ago
That's your distro, however, not Bash itself. On OSX (for example), you must install bash_completion and source it.
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.
- rmc 16y agoWell 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.
- telemachos 16y ago> 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. [1]: http://www.caliban.org/bash/ http://www.caliban.org/bash/ [2]: http://ftp.gnu.org/gnu/bash/ http://ftp.gnu.org/gnu/bash/