Adding a refactor to dedicated files instead of a massive header

This commit is contained in:
2023-11-29 11:18:56 -06:00
parent 18d2b861e0
commit dcfafe0af0
9 changed files with 135 additions and 193 deletions

View File

@@ -0,0 +1,10 @@
### GPG ###
export GPG_TTY=$(tty)
# GPG Key Agent
# Credit: https://wiki.archlinux.org/index.php/GnuPG
if [ `pgrep -afc -u $USER gpg-agent` -lt 1 ] && [ -x `which gpg-agent` ]; then
gpg-agent --daemon 2>&1 | grep -v another
fi