diff options
| author | Markus Hofbauer <markus.hofbauer@luminartech.com> | 2024-02-01 17:37:37 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-01 17:37:37 +0100 |
| commit | b5e6392f2140b7aa49c248aa6c232a6922d3311b (patch) | |
| tree | 93996719a67c95e8600947a18921b320f8602e87 /plugins/bazel | |
| parent | d6658f9af321e615a9b8be696f557a113cd6b026 (diff) | |
| download | zsh-b5e6392f2140b7aa49c248aa6c232a6922d3311b.tar.gz zsh-b5e6392f2140b7aa49c248aa6c232a6922d3311b.tar.bz2 zsh-b5e6392f2140b7aa49c248aa6c232a6922d3311b.zip | |
feat(hazel): add some aliases (#12070)
Diffstat (limited to 'plugins/bazel')
| -rw-r--r-- | plugins/bazel/README.md | 12 | ||||
| -rw-r--r-- | plugins/bazel/bazel.plugin.zsh | 5 |
2 files changed, 15 insertions, 2 deletions
diff --git a/plugins/bazel/README.md b/plugins/bazel/README.md index fc375d219..eba4175bc 100644 --- a/plugins/bazel/README.md +++ b/plugins/bazel/README.md @@ -1,7 +1,6 @@ # Bazel plugin -This plugin adds completion for [bazel](https://bazel.build), an open-source build and -test tool that scalably supports multi-language and multi-platform projects. +This plugin adds completion and aliases for [bazel](https://bazel.build), 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: @@ -12,3 +11,12 @@ plugins=(... bazel) The plugin has a copy of [the completion script from the git repository][1]. [1]: https://github.com/bazelbuild/bazel/blob/master/scripts/zsh_completion/_bazel + +## Aliases + +| Alias | Command | Description | +| ------- | -------------------------------------- | ------------------------------------------------------ | +| bzb | `bazel build` | The `bazel build` command | +| bzt | `bazel test` | The `bazel test` command | +| bzr | `bazel run` | The `bazel run` command | +| bzq | `bazel query` | The `bazel query` command | diff --git a/plugins/bazel/bazel.plugin.zsh b/plugins/bazel/bazel.plugin.zsh new file mode 100644 index 000000000..d239a06b5 --- /dev/null +++ b/plugins/bazel/bazel.plugin.zsh @@ -0,0 +1,5 @@ +# Aliases for bazel +alias bzb='bazel build' +alias bzt='bazel test' +alias bzr='bazel run' +alias bzq='bazel query' |
