chore(bazel): update completion to f146202c

master
Marc Cornellà 5 years ago
parent ce9104c4f3
commit c155531402
No known key found for this signature in database
GPG Key ID: 314585E776A9C1B
  1. 2
      plugins/bazel/_bazel

@ -164,7 +164,7 @@ _get_build_targets() {
;; ;;
esac esac
completions=(${$(_bazel_b query "kind(\"${rule_re}\", ${pkg}:all)" 2>/dev/null)##*:}) 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) completions+=(all)
fi fi
echo ${completions[*]} echo ${completions[*]}

Loading…
Cancel
Save