From 309576345a75170b70c64f639fd4903c4da99484 Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Fri, 1 Mar 2024 13:15:05 -0500 Subject: zsh: Use ohmyzsh's gpg-agent plugin --- zsh/.zshrc | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'zsh') diff --git a/zsh/.zshrc b/zsh/.zshrc index c7935e5..7df3240 100755 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -9,6 +9,7 @@ plugins=( colored-man-pages fzf git + gpg-agent mosh pass ripgrep @@ -30,9 +31,3 @@ alias pkgdiff="pkgdiff-mg" alias grpe="grep" alias gti="git" alias sl="ls" - -unset SSH_AGENT_PID -if [ "${gnupg_SSH_AUTH_SOCK_by:-0}" -ne $$ ]; then - export SSH_AUTH_SOCK="$(gpgconf --list-dirs agent-ssh-socket)" -fi -export GPG_TTY=$(tty) -- cgit v1.2.3