Removed a few semicolons in gpg-agent plugin.
This commit is contained in:
parent
af060f8dba
commit
37c2d35263
@ -22,16 +22,14 @@ function _gpg-agent-start() {
|
|||||||
if [[ -f "${GPG_ENV}" ]]; then
|
if [[ -f "${GPG_ENV}" ]]; then
|
||||||
source "${GPG_ENV}" > /dev/null
|
source "${GPG_ENV}" > /dev/null
|
||||||
ps -ef | grep "${SSH_AGENT_PID}" | grep gpg-agent > /dev/null || {
|
ps -ef | grep "${SSH_AGENT_PID}" | grep gpg-agent > /dev/null || {
|
||||||
_gpg-agent-start;
|
_gpg-agent-start
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
_gpg-agent-start;
|
_gpg-agent-start
|
||||||
fi
|
fi
|
||||||
|
|
||||||
export GPG_AGENT_INFO
|
export GPG_AGENT_INFO
|
||||||
export SSH_AUTH_SOCK
|
export SSH_AUTH_SOCK
|
||||||
export SSH_AGENT_PID
|
export SSH_AGENT_PID
|
||||||
|
export GPG_TTY="$(tty)"
|
||||||
GPG_TTY=$(tty)
|
|
||||||
export GPG_TTY
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user