diff options
author | Michael Albinus <michael.albinus@gmx.de> | 2016-10-20 14:57:17 +0200 |
---|---|---|
committer | Michael Albinus <michael.albinus@gmx.de> | 2016-10-20 14:57:17 +0200 |
commit | 38091c90005932017cbac54f2f5b82b3a003b9fa (patch) | |
tree | 8425544d683670f6c8961d9a95b57c15d9716c72 /doc/misc | |
parent | 027c350e0cde1876f811b845cb10d3faa8f45665 (diff) | |
download | emacs-38091c90005932017cbac54f2f5b82b3a003b9fa.tar.gz |
Document, how to suppress iTerm2 shell integration in Tramp
* doc/misc/tramp.texi (Frequently Asked Questions):
Suppress iTerm2 shell integration.
Diffstat (limited to 'doc/misc')
-rw-r--r-- | doc/misc/tramp.texi | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/doc/misc/tramp.texi b/doc/misc/tramp.texi index c3b54c612f0..d8a2beac405 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 +@file{~/.profile} like this: + +@example +@group +[ $TERM = "dumb" ] || \ +test -e "$@{HOME@}/.iterm2_shell_integration.bash" && \ +source "$@{HOME@}/.iterm2_shell_integration.bash" +@end group +@end example @item Echoed characters after login |