By setting the default value of PROG to the basname of whatever the filename is, we allow bash_autocomplete to be copied into /etc/bash_completion.d without modification.