aboutsummaryrefslogtreecommitdiffstats
path: root/_profile
diff options
context:
space:
mode:
Diffstat (limited to '_profile')
-rw-r--r--_profile10
1 files changed, 3 insertions, 7 deletions
diff --git a/_profile b/_profile
index cb983e2..b219d75 100644
--- a/_profile
+++ b/_profile
@@ -88,15 +88,11 @@ export VISUAL="${EDITOR}"
export PAGER="less"
export LESS="--ignore-case --raw-control-chars"
-## Start `gpg-agent` if not running
+## Start `gpg-agent' if it is not running
if ! _running gpg-agent; then
gpgconf --launch gpg-agent
fi
-## Set SSH to use `gpg-agent` as the SSH agent is enabled
-unset SSH_AGENT_PID
-if [ "${gnupg_SSH_AUTH_SOCK_by:-0}" -ne $$ ]; then
- export SSH_AUTH_SOCK="/run/user/${UID}/gnupg/S.gpg-agent.ssh"
-fi
-
PROFILE_SOURCED=yes
+
+# EOF