configs/zsh: add mkhash function for generating hashes
This commit is contained in:
parent
a1ccf2ff46
commit
776533f374
@ -45,6 +45,10 @@
|
||||
go mod tidy
|
||||
}
|
||||
|
||||
mkhash() {
|
||||
nix hash to-sri --type sha256 $(nix-prefetch-url --type sha256 "$1")
|
||||
}
|
||||
|
||||
k() {
|
||||
''${K_DEBUG}
|
||||
if [ -z $1 ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user