all repos — nixfiles @ 472136ff4daaef2b7535b18cef4d8d56511cb0a8

System and user configuration, managed by nix and home-manager

zsh: Check SSH_AUTH_SOCK more precisely

Alan Pearce
commit

472136ff4daaef2b7535b18cef4d8d56511cb0a8

parent

d937e36f99214675f4ba45a579db290f8e1ce525

1 file changed, 1 insertion(+), 1 deletion(-)

jump to
M tag-zsh/config/zsh/zshenvtag-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)