From feac828d03dede198e20bf669c9669131aa752ae Mon Sep 17 00:00:00 2001 From: Mark Nipper Date: Wed, 4 Jun 2025 10:19:02 -0700 Subject: Enable more remote gpg-agent functionality --- home/nipsy/common/core/zsh/zshrc | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'home') diff --git a/home/nipsy/common/core/zsh/zshrc b/home/nipsy/common/core/zsh/zshrc index 543450d..cca7d6f 100644 --- a/home/nipsy/common/core/zsh/zshrc +++ b/home/nipsy/common/core/zsh/zshrc @@ -1,5 +1,12 @@ umask 022 +# remote gpg-agent handling +if [[ ${HOST} == "arrakis.bitgnome.net" ]]; then + if [[ ! -d /run/user/1000/gnupg ]]; then + gpgconf --create-socketdir + fi +fi + eval $(dircolors) # set SWAYSOCK correctly -- cgit v1.2.3