Fix gpg.zsh again
This commit is contained in:
parent
ddb4be62f2
commit
f02a5b4f20
|
@ -1,10 +1,5 @@
|
|||
if [[ $HOSTNAME != "toolbox" ]]; then
|
||||
if [[ -z $SSH_CONNECTION ]]; then
|
||||
export GPG_TTY="$TTY"
|
||||
gpgconf --launch gpg-agent
|
||||
gpg-connect-agent updatestartuptty /bye &> /dev/null
|
||||
else
|
||||
gpgconf --kill all
|
||||
gpg-connect-agent reloadagent /bye &> /dev/null
|
||||
fi
|
||||
if [[ -z $SSH_CONNECTION ]] && [[ $HOSTNAME != "toolbox" ]]; then
|
||||
export GPG_TTY="$TTY"
|
||||
gpgconf --launch gpg-agent
|
||||
gpg-connect-agent updatestartuptty /bye &> /dev/null
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue