kdesrc-build is an awesome tool used a lot around KDE - basically it's an automated build script to which you can just throw any git url and it downloads, configures, builds and installs the project for you. All that plus nice logging features on top. You can read some more over at Jeremy Whiting's recent blogpost.
What I missed for long long time is to have KDE projects autocomplete-able within kdesrc-build so that I don't have to guess or type the exact project names every time. Because on each run kdesrc-build downloads the kde_projects.xml file, the projects database is all there, ready to be used.
So I finally sat down and wrote a simple (and probably all wrong) bash autocompletion script. Now you can just type "kdesrc-build [tab][tab]" and have a list of all KDE projects \o/
As bash scripting is not my cup of coffee, I've put it in a wiki so that people more skilled can easily improve or extend it as they see fit (it would be great if it could autocomplete also the modules you have set in your rc file). I'll leave it to mature there for a bit and then I'd like to move it to the Techbase pages about kdesrc-build. For now it's using xml2 to parse the xml file, so be sure to have that installed.
Get it & edit here: https://community.kde.org/Scratchpad/kdesrc-build-autocompletion
UPDATE: From Ivan Čukić - "A really hackish way for the same thing in zsh: http://marc.info/?t=138943682400001&r=1&w=2"