From 0e42db4b6d20ca69d1b51901bf800fca5dd4cc4e Mon Sep 17 00:00:00 2001 From: Jonathan Schleifer Date: Sun, 6 Aug 2023 12:01:01 +0000 Subject: [PATCH] zshrc: Don't always have a gpg-agent running It misbehaves way too often, sometimes trying to use up the entire virtual address space on the system. --- zshrc | 3 --- 1 file changed, 3 deletions(-) diff --git a/zshrc b/zshrc index aee56e0..5149ece 100644 --- a/zshrc +++ b/zshrc @@ -366,9 +366,6 @@ __has_command url2pkg && __has_command mpv && alias mpv="LC_ALL=C mpv" if __has_command gpg gpg2; then - # Make sure GPG agent is running. - gpg --card-status &>/dev/null - alias gssh='SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket) ssh -o IdentitiesOnly=no' alias gssh-add='SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket) ssh-add' alias gsftp='SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket) sftp -o IdentitiesOnly=no'