From add7f407999242aea8889d760a4224abba7c1443 Mon Sep 17 00:00:00 2001 From: Matt Hamilton Date: Wed, 23 Dec 2015 05:13:09 -0500 Subject: [PATCH] fix broken variable --- modules/ssh/init.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ssh/init.zsh b/modules/ssh/init.zsh index 285a759..4411406 100644 --- a/modules/ssh/init.zsh +++ b/modules/ssh/init.zsh @@ -21,7 +21,7 @@ fi # start ssh-agent if not already running if [[ ! -S ${SSH_AUTH_SOCK} ]]; then # read environment if possible - source ssh_env 2> /dev/null + source ${ssh_env} 2> /dev/null if ! ps -U ${LOGNAME} -o pid,ucomm | grep -q -- "${SSH_AGENT_PID:--1} ssh-agent"; then eval "$(ssh-agent | sed '/^echo /d' | tee ${ssh_env})"