gpg-agent: explicitly use pinentry-gtk-2
This commit is contained in:
parent
55ada7c794
commit
6c1c75fe08
|
@ -11,6 +11,6 @@ if [[ -z $SSH_AGENT_PID ]] || ! ps $SSH_AGENT_PID >/dev/null; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
_is_running gpg-agent || {
|
_is_running gpg-agent || {
|
||||||
gpg-agent --daemon >"$XDG_RUNTIME_DIR/gpg-agent-env"
|
gpg-agent --pinentry-program /usr/bin/pinentry-gtk-2 --daemon >"$XDG_RUNTIME_DIR/gpg-agent-env"
|
||||||
}
|
}
|
||||||
_source "$XDG_RUNTIME_DIR/gpg-agent-env" >/dev/null
|
_source "$XDG_RUNTIME_DIR/gpg-agent-env" >/dev/null
|
||||||
|
|
Loading…
Reference in a new issue