On Sun, Apr 08, 2012 at 06:07:48AM +0300, Felipe Contreras wrote: > +test_completion () > +{ > + local -a COMPREPLY _words > + local _cword > + _words=( $1 ) > + test $# -gt 1 && echo "$2" > expected > + (( _cword = ${#_words[@]} - 1 )) > + _git && print_comp && > + test_cmp expected out > +} Could you check that _git doesn't output anything to stderr here? I can't see any reason why a completion command should ever do so legitimately and it's generally annoying if one does. -- John -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html