Browse Source

Removed a few semicolons in gpg-agent plugin.

master
Sorin Ionescu 13 years ago
parent
commit
37c2d35263
  1. 8
      plugins/gpg-agent/init.zsh

8
plugins/gpg-agent/init.zsh

@ -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

Loading…
Cancel
Save