On Sun, Oct 14, 2012 at 5:52 PM, Felipe Contreras <felipe.contreras@xxxxxxxxx> wrote: > -print_comp () > +__gitcompadd () > { > - local IFS=$'\n' > - echo "${COMPREPLY[*]}" > out > + compgen -P "${2-}" -S "${4- }" -W "$1" -- "${3-$cur}" > out Rather: compgen -W "$1" -P "$2" -S "$4" -- "$3" > out -- Felipe Contreras -- 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