diff options
author | Matt Turner <mattst88@gmail.com> | 2024-03-01 13:15:05 -0500 |
---|---|---|
committer | Matt Turner <mattst88@gmail.com> | 2024-03-01 13:15:05 -0500 |
commit | 309576345a75170b70c64f639fd4903c4da99484 (patch) | |
tree | 9b70a8d04dd4f89978d7c48d44f7ade403017359 /zsh | |
parent | f64fefba269bdcdb2bded1ddc0a519959fba8227 (diff) |
zsh: Use ohmyzsh's gpg-agent plugin
Diffstat (limited to 'zsh')
-rwxr-xr-x | zsh/.zshrc | 7 |
1 files changed, 1 insertions, 6 deletions
@@ -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) |