Possible Duplicate:
How do I get bash completion for command aliases?
I wrote a series of scripts to make package management a little more intuitive for me. However, I can no longer tab complete for package names. Is there a way I can forward the results of a tab completion to a script?
Sample- package-install:
#!/bin/bash
apt-get install $*