Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Terminal2 remember history of Terminal1 #9324

Closed
tringuyen-yw opened this issue Oct 10, 2020 · 2 comments
Closed

Terminal2 remember history of Terminal1 #9324

tringuyen-yw opened this issue Oct 10, 2020 · 2 comments

Comments

@tringuyen-yw
Copy link

Describe the bug
Using macOS 10.15.x (Catalina) and iTerm2
When open several terminals (different tabs in iTerm2). The history of any terminal remember the commands typed in other terminals

Expected behavior
The history of each terminal must be unique to that terminal.

Self Check
Seen on Stackoverflow someone suggested to add unsetopt share_history in ~/.zshrc
But maybe it is time to fix this bug for good.

Desktop (please complete the following information):

  • OS / Distro: macOS 10.15.x (Catalina)
  • ZSH Version: zsh 5.7.1 (x86_64-apple-darwin19.0)
  • Terminal emulator: iTerm2
@mcornella
Copy link
Member

Duplicate of #2537.

mcornella added a commit that referenced this issue Oct 10, 2020
shlomif pushed a commit to shlomif/oh-my-zsh that referenced this issue Oct 15, 2020
abhinandkr pushed a commit to abhinandkr/ohmyzsh that referenced this issue Oct 16, 2020
@mcornella
Copy link
Member

I reverted the change in 28ed288 based on user feedback. You can still fix that with unsetopt share_history in your zshrc file, after OMZ is sourced.

msmafra pushed a commit to msmafra/ohmyzsh that referenced this issue Nov 15, 2020
sevenever pushed a commit to sevenever/ohmyzsh that referenced this issue Jan 13, 2021
dpond pushed a commit to dpond/ohmyzsh that referenced this issue Mar 23, 2021
avpalmeira pushed a commit to avpalmeira/ohmyzsh that referenced this issue May 20, 2021
grantstephens pushed a commit to grantstephens/oh-my-zsh that referenced this issue Jun 23, 2021
tinogomes pushed a commit to tinogomes/ohmyzsh that referenced this issue Sep 24, 2021
tekniklr pushed a commit to tekniklr/oh-my-zsh that referenced this issue Sep 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants