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

Intermittent database corruption #68

Closed
coljac opened this issue Apr 23, 2020 · 2 comments
Closed

Intermittent database corruption #68

coljac opened this issue Apr 23, 2020 · 2 comments

Comments

@coljac
Copy link

coljac commented Apr 23, 2020

Twice in the last month, since I have started using zoxide, the database has become corrupted and I've lost my history.

This manifests as zoxide: could not read from database messages at each command prompt; ~/.zo is zero bytes.

I think this has something to do with killing a process using ctrl-c but I haven't been able to reproduce this yet. I'm using oh-my-zsh.

@ajeetdsouza
Copy link
Owner

Could you check your zoxide version?

zoxide --version

There were some corruption issues that got fixed in 0.3.0.

@coljac
Copy link
Author

coljac commented Apr 23, 2020

Apologies, my zoxide is out of date (0.1.1). Glad to hear it's fixed.

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