fix: wrong logic

This commit is contained in:
Tobias Reisinger 2019-12-26 14:09:20 +01:00
parent 9cbeed5b2a
commit 461bf041c3

View file

@ -9,7 +9,7 @@ PATH="/usr/local/sbin:/usr/sbin:/sbin:$PATH"
[ -f "$HOME/.config/aliasrc" ] && source $HOME/.config/aliasrc
if ! [ -x "$(command -v gpgconf)" ]; then
if [ -x "$(command -v gpgconf)" ]; then
export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
gpgconf --launch gpg-agent
fi