summaryrefslogtreecommitdiff
path: root/plugins/bazel/_bazel
diff options
context:
space:
mode:
authorMarc Cornellà <hello@mcornella.com>2021-12-29 15:07:52 +0100
committerMarc Cornellà <hello@mcornella.com>2021-12-29 15:07:52 +0100
commitc155531402a2ca19490aa81818a0f4f58f73cabf (patch)
treef9c1da3035304635520b5b48917d02af70b20ce4 /plugins/bazel/_bazel
parentce9104c4f3d9ea424346d711f0653cd9e5d81303 (diff)
downloadzsh-c155531402a2ca19490aa81818a0f4f58f73cabf.tar.gz
zsh-c155531402a2ca19490aa81818a0f4f58f73cabf.tar.bz2
zsh-c155531402a2ca19490aa81818a0f4f58f73cabf.zip
chore(bazel): update completion to f146202c
Diffstat (limited to 'plugins/bazel/_bazel')
-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[*]}