Fish Shell: iTerm2 shell integration throws "Looks like paste bracketing was left on..."
- iTerm2 version: 3.2.9
- Fish Shell version: fish, version 3.0.2
- OS version: MacOS Mojave 10.14.6
- plist: com.googlecode.iterm2.plist
- debug log: debuglog.txt
In reference to Github issue: https://github.com/fish-shell/fish-shell/issues/5991
Detailed steps to reproduce the problem:
- Open new iTerm2 tab, tye an arbitrary command (like
ls
) - Use
cmd
+k
to clear terminal - Type
~
and hitenter
- The warning should appear
What happened: At random times, running random commands a yellow warning pops open, asking me if paste bracketing was left on after leaving ssh connection. (Even without previous ssh connection)
What should have happened: No warning should appear, unless the right conditions are met: ssh connection with paste bracketing enabled.
Please have a look at the attached screenshots as well, this happened after I disabled Prefs > Advanced > Always turn off paste bracketing when host changes, restarted iTerm2 and opened a fresh tab. The commands you see in the screenshots are the only ones that I ran in this tab, no ssh connection etc.
After the above, i closed the warning, hit cmd + k
, typed ~
and then enter
, and the warning reappeared.