emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 38091c9 1/2: Document, how to suppress iTerm2 shell


From: Michael Albinus
Subject: [Emacs-diffs] master 38091c9 1/2: Document, how to suppress iTerm2 shell integration in Tramp
Date: Thu, 20 Oct 2016 12:58:44 +0000 (UTC)

branch: master
commit 38091c90005932017cbac54f2f5b82b3a003b9fa
Author: Michael Albinus <address@hidden>
Commit: Michael Albinus <address@hidden>

    Document, how to suppress iTerm2 shell integration in Tramp
    
    * doc/misc/tramp.texi (Frequently Asked Questions):
    Suppress iTerm2 shell integration.
---
 doc/misc/tramp.texi |   17 +++++++++++++++--
 1 file changed, 15 insertions(+), 2 deletions(-)

diff --git a/doc/misc/tramp.texi b/doc/misc/tramp.texi
index c3b54c6..d8a2bea 100644
--- a/doc/misc/tramp.texi
+++ b/doc/misc/tramp.texi
@@ -2886,8 +2886,21 @@ end
 @end group
 @end example
 
-When using WinSSHD on remote hosts, @value{tramp} do not recognize the
-strange prompt settings.
+When using WinSSHD on remote hosts, @value{tramp} does not recognize
+the strange prompt settings.
+
+A similar problem exist with the iTerm2 shell integration, which sends
+proprietary escape codes when starting a shell.  This can be
+suppressed by changing the respective integration snippet in your
address@hidden/.profile} like this:
+
address@hidden
address@hidden
+[ $TERM = "dumb" ] || \
+test -e "address@hidden@}/.iterm2_shell_integration.bash" && \
+source "address@hidden@}/.iterm2_shell_integration.bash"
address@hidden group
address@hidden example
 
 @item
 Echoed characters after login



reply via email to

[Prev in Thread] Current Thread [Next in Thread]