1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-12-21 20:01:57 +00:00
ohmyzsh/plugins/bazel/bazel.plugin.zsh
Markus Hofbauer 9991822f8c
feat(bazel): add bzlmod integrity gen function (#12797)
Co-authored-by: Carlo Sala <carlosalag@protonmail.com>
2024-11-19 21:20:58 +01:00

9 lines
206 B
Bash

# Aliases for bazel
alias bzb='bazel build'
alias bzt='bazel test'
alias bzr='bazel run'
alias bzq='bazel query'
sri-hash() {
openssl dgst -sha256 -binary $1 | openssl base64 -A | sed 's/^/sha256-/'
}