Adding a refactor to dedicated files instead of a massive header
This commit is contained in:
10
EtcFiles/profile.d/shadowarch-gpg.sh
Normal file
10
EtcFiles/profile.d/shadowarch-gpg.sh
Normal 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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user