diff --git a/zsh/.config/zsh/gpg.zsh b/zsh/.config/zsh/gpg.zsh index 5853ce9..74b0548 100644 --- a/zsh/.config/zsh/gpg.zsh +++ b/zsh/.config/zsh/gpg.zsh @@ -2,4 +2,6 @@ if [[ -z $SSH_CONNECTION ]] && [[ $HOSTNAME != "toolbox" ]]; then export GPG_TTY="$TTY" gpgconf --launch gpg-agent gpg-connect-agent updatestartuptty /bye &> /dev/null +else + gpg-connect-agent reloadagent /bye &> /dev/null fi