This serie of patchs (except the last one) adds completion to OpenSearch. The last one is somewhat related as it enables completion for binary packages as well.