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

On Mac OS X, history command returns nothing after reboot #1194

Open
binarykitchen opened this issue Sep 6, 2016 · 8 comments
Open

On Mac OS X, history command returns nothing after reboot #1194

binarykitchen opened this issue Sep 6, 2016 · 8 comments

Comments

@binarykitchen
Copy link

... but my .zhistory is full with many commands.

Any ideas why?

Probably setopt inc_append_history and setopt share_history are missing in the history sub module, this to ensure history is shared across all console instances?

@gmmeyer
Copy link

gmmeyer commented Sep 7, 2016

I'm having a similar problem. However, if you looked at the submodule, you'd see that your assumption is wrong:

https://github.com/sorin-ionescu/prezto/blob/master/modules/history/init.zsh#L23-L24

I've found that disabling this module and moving the logic to the zshrc works. I dunno why it doesn't work in the runcoms, though.

@binarykitchen
Copy link
Author

ok, thanks for the pointer.

but that's weird that disabling it, does the trick. @robbyrussell, any ideas why?

@ezintz
Copy link
Contributor

ezintz commented Sep 22, 2016

I am using Zsh 5.2 with macOS Sierra and it works great for me.

@belak
Copy link
Collaborator

belak commented Apr 13, 2017

Are you still running into this? Which terminal and version of zsh are you using?

@jeffwidman
Copy link
Collaborator

jeffwidman commented Aug 16, 2017

bump @gmmeyer (random running into you here too!) / @binarykitchen - is this still an issue for either of you?

@binarykitchen
Copy link
Author

#1194 (comment) did the trick for me

@gmmeyer
Copy link

gmmeyer commented Aug 19, 2017

Yea I'm still using my workaround, I never tried going back since it worked ha

@gmmeyer
Copy link

gmmeyer commented Aug 19, 2017

Also funny running into you here as well @jeffwidman 😛

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants