1
0
dotfiles/.config/zsh/alias/gpg.zsh
Konstantin Demin 8834da817c
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
zsh: update
2024-03-04 15:35:55 +03:00

15 lines
179 B
Bash

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