I have the following line in my ~/.bashrc.
complete -W '$(cat $HOME/.config/autocomplete.list1 $HOME/.config/autocomplete.list2)' stream
I wasn't to use the same for another program called streama and streamb. Is there a better way than typing the same definition two more times?