From 4871fe2f4a11d30697915e85d8c3d60e1184d2c3 Mon Sep 17 00:00:00 2001 From: Scott Wallace Date: Tue, 16 Feb 2016 20:17:12 +0000 Subject: [PATCH] Fix a typo when checking for an SSH agent. --- .bashrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.bashrc b/.bashrc index ac4085a..c6c7a49 100644 --- a/.bashrc +++ b/.bashrc @@ -97,7 +97,7 @@ function start_agent { } # Check if we already have an agent running and sourced -if [ -z "${SSH_AUTH_SOCK}" -a -s "${PS1}" ]; then +if [ -z "${SSH_AUTH_SOCK}" -a -n "${PS1}" ]; then # Source SSH settings, if applicable if [ -f "${SSH_ENV}" ]; then . "${SSH_ENV}" > /dev/null