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

Have no history in new tabs #9430

Closed
svitovyda opened this issue Nov 9, 2020 · 4 comments
Closed

Have no history in new tabs #9430

svitovyda opened this issue Nov 9, 2020 · 4 comments
Labels
Support Request for support

Comments

@svitovyda
Copy link

I understand from the similar issues, in latest release was implemented possibility to have separate history of commands. I used unsetopt no_share_history and setopt share_history in all console tabs, but after restart of my PC some of consoles now have absolutely no history, which kinda blocks me from normal effective work.
Can I set somewhere that i want always and everywhere have all my history shared among every tab ever and never ever lose it unless I explicitly configure it?

@svitovyda svitovyda added the Support Request for support label Nov 9, 2020
@svitovyda
Copy link
Author

@mcornella , once more: i added setopt share_history and unsetopt no_share_history to the ~/.zshrc but i still have only today's story in bunch of my tabs. I want my global history everywhere and i want the separate tabs history to be destroyed / merged to global one. Is that possible? Please add any comment aside from just close my support!

@mcornella mcornella reopened this Nov 9, 2020
@mcornella
Copy link
Member

I pushed an update reenabling share_history back. You can get it by running omz update and restarting the zsh session with exec zsh. If that still doesn't get you your global history back, post the output of setopt here.

shlomif pushed a commit to shlomif/oh-my-zsh that referenced this issue Nov 10, 2020
@svitovyda
Copy link
Author

My terminal (in MacOS) new windows/tabs give me the full history, but for some reason the terminal in Intellij Idea doesn't pick even yesterdays full history. Here is setopt from Idea terminal:

alwaystoend
autocd
autopushd
completeinword
extendedhistory
noflowcontrol
histexpiredupsfirst
histignoredups
histignorespace
histverify
incappendhistory
interactive
interactivecomments
login
longlistjobs
monitor
promptsubst
pushdignoredups
pushdminus
sharehistory
shinstdin
zle

Mac Terminal contains the same, plus completeinword

@mcornella
Copy link
Member

Can you post the output of typeset -m '*HIST*' in both the working terminal and the non-working one?

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
erwinvaneijk pushed a commit to erwinvaneijk/oh-my-zsh that referenced this issue Feb 21, 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
osamuelsson pushed a commit to osamuelsson/oh-my-zsh that referenced this issue May 28, 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
Support Request for support
Projects
None yet
Development

No branches or pull requests

2 participants