Remove .config/fish/functions/copy-gpg-key.fish

This commit is contained in:
punkfairie 2024-04-17 19:14:27 -07:00
parent c9f6c754ca
commit 1a634b6e45
No known key found for this signature in database
GPG key ID: 284B78B49C058673

View file

@ -1,14 +0,0 @@
#!/usr/bin/env fish
function copy-gpg-key
set -f key (\
gpg --list-secret-keys --keyid-format SHORT\
| grep 'rsa4096' \
| sed 's/sec rsa4096\///'\
| awk '{print $1}'\
)
copyq copy "$key" &>/dev/null && return 0
return 1
end