summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/bazel/_bazel2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/bazel/_bazel b/plugins/bazel/_bazel
index 827ce545c..c34c572b0 100644
--- a/plugins/bazel/_bazel
+++ b/plugins/bazel/_bazel
@@ -164,7 +164,7 @@ _get_build_targets() {
;;
esac
completions=(${$(_bazel_b query "kind(\"${rule_re}\", ${pkg}:all)" 2>/dev/null)##*:})
- if ( (( ${#completions} > 0 )) && [[ $target_type != run ]] ); then
+ if ( (( ${#completions} > 0 )) && [[ $target_type != bin ]] ); then
completions+=(all)
fi
echo ${completions[*]}