Up-arrow history is shared across tabs since recent update?
Thanks for filing an issue! Please answer the questions below so I can help you.
- iTerm2 version: 3.3.9
- OS version: 10.14.6
- Attach com.googlecode.iterm2.plistcom.googlecode.iterm2.plist here (drag-drop from finder into this window)
- Attach a debug log, if possible. Instructions at https://iterm2.com/debuglog
- Are you reporting a performance issue, excessive CPU usage, or a hang? Please attach a sample. Instructions at https://gitlab.com/gnachman/iterm2/wikis/HowToSample
- Are you reporting a crash? Please attach the crash log. Instructions at https://gitlab.com/gnachman/iterm2/wikis/crash-logs
- Are you reporting excessive memory usage? Please attach a heap analysis: https://gitlab.com/gnachman/iterm2/wikis/heapshot
Detailed steps to reproduce the problem:
- open a bunch of tabs in some different iTerm2 windows
- do some actions in one of them
- switch to the other window and hit up-arrow
What happened: I get command history from the other tab
What should have happened: Until recently I would get just history from the current tab when I hit up-arrow. But now I get command history from the other tab I was in before. I don't know if this is the default behaviour and I used to have a custom setting to fix it and that got lost in a recent version upgrade? I'm pretty sure this didn't used to happen (only when restarting iTerm2 after a reboot).
The scenario is I'm working in different projects in different tabs, all on my local drive (no ssh). The up-arrow history of other tabs is just getting in the way, I'd like each tab to have a separate history.