mirror of
https://github.com/NaomiAmethyst/dots.git
synced 2025-04-13 09:30:06 +00:00
[answerback] only exec if we are ssh'd
This commit is contained in:
parent
0cbb34a92a
commit
43d560cf0f
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ if command -v infocmp >/dev/null 2>&1 ; then
|
||||||
if [ "${COLORTERM}" = "gnome-terminal" ] ; then
|
if [ "${COLORTERM}" = "gnome-terminal" ] ; then
|
||||||
TERM="xterm-256color"
|
TERM="xterm-256color"
|
||||||
fi
|
fi
|
||||||
else
|
elif [ -n "${SSH_TTY}" ] ; then
|
||||||
answerback_cmd="answerback.`uname -s`"
|
answerback_cmd="answerback.`uname -s`"
|
||||||
if command -v ${answerback_cmd} >/dev/null 2>&1 ; then
|
if command -v ${answerback_cmd} >/dev/null 2>&1 ; then
|
||||||
ANSWERBACK=`${answerback_cmd} 2>/dev/null`
|
ANSWERBACK=`${answerback_cmd} 2>/dev/null`
|
||||||
|
|
Loading…
Add table
Reference in a new issue