diff --git a/zsh/.config/zsh/gpg.zsh b/zsh/.config/zsh/gpg.zsh index 74b0548..712cccc 100644 --- a/zsh/.config/zsh/gpg.zsh +++ b/zsh/.config/zsh/gpg.zsh @@ -3,5 +3,6 @@ if [[ -z $SSH_CONNECTION ]] && [[ $HOSTNAME != "toolbox" ]]; then gpgconf --launch gpg-agent gpg-connect-agent updatestartuptty /bye &> /dev/null else + gpgconf --kill all gpg-connect-agent reloadagent /bye &> /dev/null fi