Back to Ohmyzsh

Bazel plugin

plugins/bazel/README.md

latest946 B
Original Source

Bazel plugin

This plugin adds completion and aliases for bazel, an open-source build and test tool that scalably supports multi-language and multi-platform projects.

To use it, add bazel to the plugins array in your zshrc file:

zsh
plugins=(... bazel)

The plugin has a copy of the completion script from the git repository.

Aliases

AliasCommandDescription
bzbbazel buildThe bazel build command
bztbazel testThe bazel test command
bzrbazel runThe bazel run command
bzqbazel queryThe bazel query command

Functions

FunctionDescription
sri-hashGenerate SRI hash used by bzlmod