Error after iterm2 update
- iTerm2 version: 3.1.0
- OS version: OS X 10.12.6
- Attach ~/Library/Preferences/com.googlecode.iterm2.plist here (drag-drop from finder into this window)com.googlecode.iterm2.plist
- Attach a debug log, if possible. debuglog.txt
Detailed steps to reproduce the problem:
- Updated iterm2
- after update received the following error messages
- -bash: PROMPT_COMMAND: line 0: syntax error near unexpected token
;;' -bash: PROMPT_COMMAND: line 0:powerline_prompt_command; trap '__bp_preexec_invoke_exec "$_"' DEBUG; __bp_install;;preexec_invoke_cmd'
What happened: This is happening every time I start iterm2
Furthermore it doesn't read the
bash-it configuration. Initially I though that this error might have to do something
bash-it but after removing any configuration from
.bash_profile still the issue remains.
I managed to suppress those errors by putting the following configuration at the end of my
export PROMPT_COMMAND="dbus-send --type=method_call --session --dest=net.launchpad.pantheon-terminal /net/launchpad/pantheon_terminal org.pantheon.terminal.ProcessFinished string:$PANTHEON_TERMINAL_ID string:"$(history 1 | cut -c 8-)" >/dev/null 2>&1;"