12 lines
183 B
Bash
12 lines
183 B
Bash
#!/bin/zsh
|
|
|
|
gpg-warmup() {
|
|
(( ${+commands[gpg]} )) || return 1
|
|
local r t
|
|
t=$(mktemp)
|
|
gpg --expert -abs "$t"
|
|
r=$?
|
|
command rm -f "$t" "$t.asc"
|
|
return "$r"
|
|
}
|