X-Git-Url: https://git.sev.monster/~sev/dotfiles.git/blobdiff_plain/ea963a9040124c7535e11af2731195cd04bb653d..54a85d6c6744df54af2c092234ba84baacdc5ebc:/etc/zsh/.zprofile?ds=sidebyside diff --git a/etc/zsh/.zprofile b/etc/zsh/.zprofile index 3bad054..9b93f41 100644 --- a/etc/zsh/.zprofile +++ b/etc/zsh/.zprofile @@ -346,8 +346,9 @@ if [[ -v commands[gpg-connect-agent] && ${+DISPLAY} + ${+WAYLAND_DISPLAY} == 0)) # XXX: don't know if gpg-agent supports comments after directives # XXX: path could have # + # XXX: we are assuming this is our pinentry from .local/bin sed -Ei 's#^([[:space:]]*pinentry-program[[:space:]]).*$#\1'${commands[pinentry]:-/dev/null}'#' \ - ${GNUPGHOME:-~/.gnupg}/gpg-agent.conf + ${GNUPGHOME:-~/.gnupg}/gpg-agent.conf 2>/dev/null # XXX: could check for changes before doing this to save perf gpg-connect-agent RELOADAGENT UPDATESTARTUPTTY /bye >/dev/null 2>&1 if {$p} {