hpcc-systems/HPCC-Platform — pull request #2604 by rengolin (2012-06-20 12:38:10+00:00)
Title: Draft bash completion ECL tools

Simplified bash-completion for eclcc, eclagent and eclrun, installed under
/opt/HPCC/etc/bash_completion.d and linked/unlinked at install/uninstall
time to /etc/bash_completion.d.

This should be enough for systems with bash completion to work out automatically,
but as with other completion, you have to restart the console to get it working after
install.

For now, this patch has only three tools and the mechanism to install/uninstall
them. Further patches will bring more tools.

Note that some options (-foo=bar) can't be completed correctly, issues that GCC also
has (thus, why I haven't spend too much time looking for alternatives). We can fix
those issues after we have all tools with some basic bash completion.