Bug#721935: Bash completion for cc and c++ does not work

2013-09-05 Thread Sebastian Ramacher
Control: reassign -1 bash-completion 1:2.0-1 On 2013-09-05 16:50:53, Andrea Corbellini wrote: > Package: bash-completionVersion: 1:2.0-1 > Typing "cc " at the bash prompt does not give any hint. > The problem lies in the following piece of > /usr/share/bash-completion/completions/cc: complete -F _

Bug#721935: Bash completion for cc and c++ does not work

2013-09-05 Thread Andrea Corbellini
Package: bash-completionVersion: 1:2.0-1 Typing "cc " at the bash prompt does not give any hint. The problem lies in the following piece of /usr/share/bash-completion/completions/cc: complete -F _gcc gcc g++ g77 gcj gpc &&{cc --version 2>/dev/null | grep -q GCC && complete -F _gcc cc || :