.iterm2_shell_integration.bash should use `builtin history`, not `history`
- iTerm2 version: 3.1.1
- OS version: 10.12.16
After updating, and updating the shell integration, I was getting "sed: 1: No such file or directory" on every command I ran. If I disabled the integration, (by ditching .iterm2_shell_integration.bash) the error went away.
Turns out, I have an alias for the
alias history='history | /usr/bin/sed -E "s;^[0-9 ]+;;"' ``` That somehow clashes with what the integration does. Replacing `history` with an explicit `builtin history` call in `.iterm2_shell_integration.bash` (line 217) solves the issue. (ps: I also updated my alias to use `builtin history` now, but that doesn't help)