Remove .config/fish/functions/copy-gpg-key.fish
This commit is contained in:
parent
c9f6c754ca
commit
1a634b6e45
1 changed files with 0 additions and 14 deletions
|
@ -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
|
|
Loading…
Reference in a new issue