aboutsummaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
Diffstat (limited to 'shell')
-rw-r--r--shell/utils4
1 files changed, 4 insertions, 0 deletions
diff --git a/shell/utils b/shell/utils
index 4e60989..a68b640 100644
--- a/shell/utils
+++ b/shell/utils
@@ -137,6 +137,10 @@ checkSSHAgent() {
fi
}
+checkSSHAgentGPG() {
+ export SSH_AUTH_SOCK="$(gpgconf --list-dirs agent-ssh-socket)"
+}
+
passenv() {
_f="$(mktemp)"
pass "$@" > "$_f"