Removed a few semicolons in gpg-agent plugin.
This commit is contained in:
parent
af060f8dba
commit
37c2d35263
1 changed files with 3 additions and 5 deletions
|
@ -22,16 +22,14 @@ function _gpg-agent-start() {
|
|||
if [[ -f "${GPG_ENV}" ]]; then
|
||||
source "${GPG_ENV}" > /dev/null
|
||||
ps -ef | grep "${SSH_AGENT_PID}" | grep gpg-agent > /dev/null || {
|
||||
_gpg-agent-start;
|
||||
_gpg-agent-start
|
||||
}
|
||||
else
|
||||
_gpg-agent-start;
|
||||
_gpg-agent-start
|
||||
fi
|
||||
|
||||
export GPG_AGENT_INFO
|
||||
export SSH_AUTH_SOCK
|
||||
export SSH_AGENT_PID
|
||||
|
||||
GPG_TTY=$(tty)
|
||||
export GPG_TTY
|
||||
export GPG_TTY="$(tty)"
|
||||
|
||||
|
|
Loading…
Reference in a new issue