Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[answerback] only exec if we are ssh'd

  • Loading branch information...
commit 43d560cf0f9736f90c841120092b88e5df2ba424 1 parent 0cbb34a
@majnemer authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  commonsh/02_term
View
2  commonsh/02_term
@@ -70,7 +70,7 @@ if command -v infocmp >/dev/null 2>&1 ; then
if [ "${COLORTERM}" = "gnome-terminal" ] ; then
TERM="xterm-256color"
fi
- else
+ elif [ -n "${SSH_TTY}" ] ; then
answerback_cmd="answerback.`uname -s`"
if command -v ${answerback_cmd} >/dev/null 2>&1 ; then
ANSWERBACK=`${answerback_cmd} 2>/dev/null`
Please sign in to comment.
Something went wrong with that request. Please try again.