aboutsummaryrefslogtreecommitdiffstats
path: root/home
diff options
context:
space:
mode:
authorMark Nipper <nipsy@bitgnome.net>2025-06-04 10:19:02 -0700
committerMark Nipper <nipsy@bitgnome.net>2025-06-04 10:19:02 -0700
commitfeac828d03dede198e20bf669c9669131aa752ae (patch)
treebdf30a456518b5c040a750bad2ed8aa6b3003525 /home
parent8845a8d05dc1db6cd1eaa309be7284b5fe40e09c (diff)
downloadnix-feac828d03dede198e20bf669c9669131aa752ae.tar
nix-feac828d03dede198e20bf669c9669131aa752ae.tar.gz
nix-feac828d03dede198e20bf669c9669131aa752ae.tar.bz2
nix-feac828d03dede198e20bf669c9669131aa752ae.tar.lz
nix-feac828d03dede198e20bf669c9669131aa752ae.tar.xz
nix-feac828d03dede198e20bf669c9669131aa752ae.tar.zst
nix-feac828d03dede198e20bf669c9669131aa752ae.zip
Enable more remote gpg-agent functionality
Diffstat (limited to '')
-rw-r--r--home/nipsy/common/core/zsh/zshrc7
1 files changed, 7 insertions, 0 deletions
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