With RedHat 7.2, bash 4.2.46(1), .iterm2_shell_integration.bash causes error on login.
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)
Log of RHEL7.2 login:
ts00086@rofrpn800a ~:2 $ su - ts00086
Password:
Last login: Mon Jan 18 12:57:45 CST 2016 on pts/0
-bash: /usr/share/bashdb/bashdb-main.inc: No such file or directory
-bash: warning: cannot start debugger; debugging mode disabled
ts00086@rofrpn800a ~:0 $
Removing the two lines:
set -o functrace > /dev/null 2>&1
shopt -s extdebug > /dev/null 2>&1
from .iterm2_shell_integration.bash removes the problem, but may impair the integration.
iTerm2 Build 2.9.20160113 com.googlecode.iterm2.plist