aboutsummaryrefslogtreecommitdiff
path: root/shell/utils
diff options
context:
space:
mode:
Diffstat (limited to 'shell/utils')
-rw-r--r--shell/utils6
1 files changed, 6 insertions, 0 deletions
diff --git a/shell/utils b/shell/utils
index 3822ca2..2c45194 100644
--- a/shell/utils
+++ b/shell/utils
@@ -127,4 +127,10 @@ checkSSHAgent() {
fi
}
+passenv() {
+ _f="$(mktemp)"
+ pass "$@" > "$_f"
+ . "$_f"
+ rm -f "$_f"
+}