diff options
author | Alan Pearce | 2014-07-19 19:51:42 +0100 |
---|---|---|
committer | Alan Pearce | 2014-07-19 19:51:42 +0100 |
commit | b07c260e62bf809b6b60c12c83515335c0da0c5e (patch) | |
tree | bffc80bb9a7ab4b67a640c146c64896d6c8a6eec /tag-zsh | |
parent | 40133c84069510bc09ff2b460d0bf0f3da36097a (diff) | |
download | dotfiles-b07c260e62bf809b6b60c12c83515335c0da0c5e.tar.lz dotfiles-b07c260e62bf809b6b60c12c83515335c0da0c5e.tar.zst dotfiles-b07c260e62bf809b6b60c12c83515335c0da0c5e.zip |
zsh: Don't run envoy when SSH_AUTH_SOCK is defined
Diffstat (limited to 'tag-zsh')
-rwxr-xr-x | tag-zsh/config/zsh/zshenv | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tag-zsh/config/zsh/zshenv b/tag-zsh/config/zsh/zshenv index 24dca14..2547665 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) |