punkfairie
9f5c7c826f
Update .chezmoiignore Add .chezmoiremove Remove .bash_logout Remove .bash_profile Update .config/fish/functions/batt.fish Update .config/fish/functions/extract.fish Update .local/bin/get-gpg-key Update .xprofile Change attributes of .config/xrandr/desktop.sh Change attributes of .gnupg/gpg-agent.conf
9 lines
167 B
Bash
9 lines
167 B
Bash
#!/usr/bin/env bash
|
|
|
|
key="$(
|
|
gpg --list-secret-keys --keyid-format SHORT | grep 'rsa4096' \
|
|
| sed 's/sec rsa4096\///' \
|
|
| awk '{print $1}'
|
|
)"
|
|
|
|
echo "$key"
|