From b07c260e62bf809b6b60c12c83515335c0da0c5e Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sat, 19 Jul 2014 19:51:42 +0100 Subject: zsh: Don't run envoy when SSH_AUTH_SOCK is defined --- tag-zsh/config/zsh/zshenv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tag-zsh/config/zsh/zshenv') diff --git a/tag-zsh/config/zsh/zshenv b/tag-zsh/config/zsh/zshenv index 24dca14a..25476653 100755 --- a/tag-zsh/config/zsh/zshenv +++ b/tag-zsh/config/zsh/zshenv @@ -50,7 +50,7 @@ then eval "$(direnv hook zsh)" fi -if [[ $os == gnu && -s $commands[envoy] ]] +if [[ $os == gnu && -z $SSH_AUTH_SOCK && -s $commands[envoy] ]] then envoy -t gpg-agent eval $(envoy -p) -- cgit 1.4.1