diff options
| author | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2017-01-16 07:16:21 +0100 |
|---|---|---|
| committer | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2017-01-16 07:22:34 +0100 |
| commit | d934eaa089ee8be6238399de7130d45906a88a00 (patch) | |
| tree | 29974c789e664066079e4be3710933576601c8bc /.bash_prompt | |
| parent | d7279500270a28ad8588cc3ee17c1d18af0c73b5 (diff) | |
| download | dotfiles-d934eaa089ee8be6238399de7130d45906a88a00.tar.xz | |
Work around TRAMP issue
TRAMP fails to connect to remote hosts that set this prompt.
Diffstat (limited to '.bash_prompt')
| -rw-r--r-- | .bash_prompt | 6 |
1 files changed, 6 insertions, 0 deletions
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 |
