dotfiles

🎜 Clone'em, tweak'em, stick'em in your $HOME 🎝
git clone https://git.kevinlegouguec.net/dotfiles
Log | Files | Refs | README

commit d934eaa089ee8be6238399de7130d45906a88a00
parent d7279500270a28ad8588cc3ee17c1d18af0c73b5
Author: KΓ©vin Le Gouguec <kevin.legouguec@gmail.com>
Date:   Mon, 16 Jan 2017 07:16:21 +0100

Work around TRAMP issue

TRAMP fails to connect to remote hosts that set this prompt.

Diffstat:
M.bash_prompt | 6++++++
1 file changed, 6 insertions(+), 0 deletions(-)

diff --git 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