diff options
author | Alan Pearce | 2014-07-20 08:28:58 +0100 |
---|---|---|
committer | Alan Pearce | 2014-07-20 08:28:58 +0100 |
commit | 472136ff4daaef2b7535b18cef4d8d56511cb0a8 (patch) | |
tree | d6456141d243df600288bb27588a419c9871ae0a | |
parent | d937e36f99214675f4ba45a579db290f8e1ce525 (diff) | |
download | dotfiles-472136ff4daaef2b7535b18cef4d8d56511cb0a8.tar.lz dotfiles-472136ff4daaef2b7535b18cef4d8d56511cb0a8.tar.zst dotfiles-472136ff4daaef2b7535b18cef4d8d56511cb0a8.zip |
zsh: Check SSH_AUTH_SOCK more precisely
-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 2547665..3572571 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 && -z $SSH_AUTH_SOCK && -s $commands[envoy] ]] +if [[ $os == gnu && ! -S $SSH_AUTH_SOCK && -s $commands[envoy] ]] then envoy -t gpg-agent eval $(envoy -p) |