mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-02-06 02:51:32 +01:00
Apply suggestions from code review
This commit is contained in:
parent
7deb886ee9
commit
e66f66852f
2 changed files with 2 additions and 2 deletions
|
|
@ -25,4 +25,4 @@ The plugin has a copy of [the completion script from the git repository][1].
|
||||||
|
|
||||||
| Function | Description |
|
| Function | Description |
|
||||||
| -------- | ---------------------------------------- |
|
| -------- | ---------------------------------------- |
|
||||||
| bzlmod_integrety | Generate bzlmod integrity value |
|
| sri-hash | Generate SRI hash used by bzlmod |
|
||||||
|
|
|
||||||
|
|
@ -4,6 +4,6 @@ alias bzt='bazel test'
|
||||||
alias bzr='bazel run'
|
alias bzr='bazel run'
|
||||||
alias bzq='bazel query'
|
alias bzq='bazel query'
|
||||||
|
|
||||||
bzlmod_integrety() {
|
sri-hash() {
|
||||||
openssl dgst -sha256 -binary $1 | openssl base64 -A | sed 's/^/sha256-/'
|
openssl dgst -sha256 -binary $1 | openssl base64 -A | sed 's/^/sha256-/'
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue