c155531402a2ca19490aa81818a0f4f58f73cabf
- Author
- Marc Cornellà <hello@mcornella.com>
- Committer
- Marc Cornellà <hello@mcornella.com>
- Date
Message
chore(bazel): update completion to f146202c
Diff
1diff --git a/plugins/bazel/_bazel b/plugins/bazel/_bazel
2index 827ce545c0db1e69e90ee699fd89ab036349b76a..c34c572b0589be7969ca10791c6414d62f472089 100644
3--- a/plugins/bazel/_bazel
4+++ b/plugins/bazel/_bazel
5@@ -164,7 +164,7 @@ _get_build_targets() {
6 ;;
7 esac
8 completions=(${$(_bazel_b query "kind(\"${rule_re}\", ${pkg}:all)" 2>/dev/null)##*:})
9- if ( (( ${#completions} > 0 )) && [[ $target_type != run ]] ); then
10+ if ( (( ${#completions} > 0 )) && [[ $target_type != bin ]] ); then
11 completions+=(all)
12 fi
13 echo ${completions[*]}