1
0
mirror of https://github.com/robbyrussell/oh-my-zsh.git synced 2025-12-06 15:30:40 +01:00

chore(bazel): update completion to f146202c

This commit is contained in:
Marc Cornellà
2021-12-29 15:07:52 +01:00
parent ce9104c4f3
commit c155531402

View File

@@ -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[*]}