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