From d934eaa089ee8be6238399de7130d45906a88a00 Mon Sep 17 00:00:00 2001 From: Kévin Le Gouguec Date: Mon, 16 Jan 2017 07:16:21 +0100 Subject: Work around TRAMP issue TRAMP fails to connect to remote hosts that set this prompt. --- .bash_prompt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.bash_prompt b/.bash_prompt index a892c73..b42217f 100644 --- a/.bash_prompt +++ b/.bash_prompt @@ -6,6 +6,12 @@ # anything else: Never show hostname +if [ "${TERM}" = "dumb" ] +then + return +fi + + __show-hostname () { case "${PS1_SHOWHOSTNAME}" in -- cgit v1.2.3