fix: wrong logic
This commit is contained in:
parent
9cbeed5b2a
commit
461bf041c3
1 changed files with 1 additions and 1 deletions
2
.profile
2
.profile
|
@ -9,7 +9,7 @@ PATH="/usr/local/sbin:/usr/sbin:/sbin:$PATH"
|
||||||
|
|
||||||
[ -f "$HOME/.config/aliasrc" ] && source $HOME/.config/aliasrc
|
[ -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)
|
export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
|
||||||
gpgconf --launch gpg-agent
|
gpgconf --launch gpg-agent
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue