[bash-completion] Do not use dash in function name (Fixes #1623)