Merge remote-tracking branch 'origin/github/pr/73'
authorMichael Prokop <mika@grml.org>
Tue, 12 Feb 2019 14:48:33 +0000 (15:48 +0100)
committerMichael Prokop <mika@grml.org>
Tue, 12 Feb 2019 14:48:56 +0000 (15:48 +0100)
commitb6488036e4c060e7f186212eeed148c2996abc2a
tree89007efcde4c48437de7761ae1e07013da3e87b5
parent9b0167b4b6fdc6782b2b7c35d5a09280ef6ace29
parent1d7346704e49fa779ffccfc2eda2dc12e1937a6f
Merge remote-tracking branch 'origin/github/pr/73'

C/P from https://github.com/grml/grml-etc-core/pull/73:

| Starting with zsh version 5.1, ZLE began supporting "bracketed paste mode".
|
| Currently, even on dumb terminals, ZLE sometimes emits the escape sequence
| "[?2004h" after the prompt if bracketed paste mode is not disabled. This
| prevents various tools that try to detect a shell prompt (such as Emacs TRAMP)
| from doing so successfully. (The shell prompt effectively becomes user@host ~ %
| �[?2004h – which typically will not be matched by prompt detecting regexps,
| thereby breaking Emacs TRAMP for target hosts that use the Grml zsh config and
| zsh ≥5.1.)
|
| Since most "dumb" terminals do not have bracketed paste capabilities anyway,
| this pull request changes the Grml zsh config to disable bracketed paste mode
| for "dumb" terminals.