Skip to content

RHEL 7.2 conflicts with Shell Integration

iTerm2 version 2.9.20160113 OSX 10.11.2 (15C50), RedHat RHEL 7.2

After upgrading RHEL 7 to 7.2, I get the following during login:

rpn01@R5057499 ~:0 $ ssh rofrpn800a Last login: Tue Jan 26 08:13:16 2016 from r5057499.mayo.edu -bash: /usr/share/bashdb/bashdb-main.inc: No such file or directory -bash: warning: cannot start debugger; debugging mode disabled ts00086@rofrpn800a ~:0 $

The two bash errors did not show up before 7.2. I traced it down to one line in .iterm2_shell_integration.bash:

  shopt -s extdebug > /dev/null 2>&1

This now causes the lack of bashdb being installed to be reported as a warning in bash version 4.2.46(1)-release.

Required information for bugs. I probably can't help you unless you include this:

  • iTerm2 version
  • OS version
  • Attach ~/Library/Preferences/com.googlecode.iterm2.plist here
  • Attach a debug log (https://iterm2.com/debuglog)