summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2014-07-16 19:50:41 +0100
committerAlan Pearce2014-07-16 19:53:22 +0100
commitb72cbd67c049e7ce79f94f2313f7016d5d1ddde9 (patch)
treec303e3902626229332022909fd5ec7df9d39dffa
parent5c1be534901ea23dfd02ab43f444818b276a1f75 (diff)
downloadnixfiles-b72cbd67c049e7ce79f94f2313f7016d5d1ddde9.tar.lz
nixfiles-b72cbd67c049e7ce79f94f2313f7016d5d1ddde9.tar.zst
nixfiles-b72cbd67c049e7ce79f94f2313f7016d5d1ddde9.zip
Zsh: add envoy support
-rwxr-xr-xtag-zsh/config/zsh/zshenv6
1 files changed, 6 insertions, 0 deletions
diff --git a/tag-zsh/config/zsh/zshenv b/tag-zsh/config/zsh/zshenv
index 072e6f73..24dca14a 100755
--- a/tag-zsh/config/zsh/zshenv
+++ b/tag-zsh/config/zsh/zshenv
@@ -49,3 +49,9 @@ if [[ -s $commands[direnv] ]]
 then
 	eval "$(direnv hook zsh)"
 fi
+
+if [[ $os == gnu && -s $commands[envoy] ]]
+then
+	envoy -t gpg-agent
+	eval $(envoy -p)
+fi