For users of the ZSH shell:
It it possible to use Feta and APT to autocomplete commands. To do that, add the following lines to your ~/.zlogin or ~/.zshrc:
compctl -D -f + -UQ -K multicomp
fetacmds=(`feta commands`)
pkgnames=(`/usr/bin/apt-cache pkgnames`)
compctl -x 'p[1]' -k fetacmds - 'p[2,-1]' -k pkgnames + -g '*.deb' + -g '/' + -f -- feta
Now, type 'feta '<tab>, and you should get a list of commands you can autocomplete. Typing tab again will let you see a list of packages, which you can also autocomplete.
The downside is that this can be pretty slow, and affect shell startup time.
Thanks to Brett Smith for help with ZSH's compctl stuff.
