From 37c2d352637a71bf242d78d749b0e22c385033f9 Mon Sep 17 00:00:00 2001 From: Sorin Ionescu Date: Tue, 31 Jan 2012 23:42:01 -0500 Subject: [PATCH] Removed a few semicolons in gpg-agent plugin. --- plugins/gpg-agent/init.zsh | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/plugins/gpg-agent/init.zsh b/plugins/gpg-agent/init.zsh index c387884..f646271 100644 --- a/plugins/gpg-agent/init.zsh +++ b/plugins/gpg-agent/init.zsh @@ -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)"