From ccf948f26bb87813348a33d5448870190578f560 Mon Sep 17 00:00:00 2001 From: Rodolphe Breard Date: Sun, 3 May 2020 20:24:26 +0200 Subject: [PATCH] Remove the useless GPG Agent start code --- .zshrc | 6 ------ 1 file changed, 6 deletions(-) diff --git a/.zshrc b/.zshrc index 8efc7d6..61fbfe7 100644 --- a/.zshrc +++ b/.zshrc @@ -41,12 +41,6 @@ if [ -f "/usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting. . "/usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" fi -# GPG Agent -export GPG_TTY=$(tty) -[ -S "/run/user/${UID}/gnupg/S.gpg-agent" ] && export GPG_AGENT_INFO="/run/user/${UID}/gnupg/S.gpg-agent" -[ -S "/run/user/${UID}/gnupg/S.gpg-agent.ssh" ] && export SSH_AUTH_SOCK="/run/user/${UID}/gnupg/S.gpg-agent.ssh" -pgrep -x -u "${USER}" gpg-agent >/dev/null 2>&1 && export SSH_AGENT_PID=$(pgrep -x -u "${USER}" gpg-agent) - # Aliases [ -f "$HOME/.aliases" ] && . "$HOME/.aliases"