Fix gpg-agent
This commit is contained in:
parent
d9dcc4e177
commit
c82a6cc12a
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ export AUR_PAGER=$PAGER
|
||||||
export GPG_TTY="$(tty)"
|
export GPG_TTY="$(tty)"
|
||||||
|
|
||||||
# set SSH_AUTH_SOCK if not logging in over SSH
|
# set SSH_AUTH_SOCK if not logging in over SSH
|
||||||
if [ "$SSH_CONNECTION" != "" ]; then
|
if [ "$SSH_CONNECTION" -eq "" ]; then
|
||||||
export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
|
export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
|
||||||
gpgconf --launch gpg-agent
|
gpgconf --launch gpg-agent
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue