mirror of
https://github.com/Llewellynvdm/zoxide.git
synced 2024-12-29 12:32:40 +00:00
Add note to README about fix for v0.2->v0.3 db incompatability error (#53)
This commit is contained in:
parent
1e333dfb33
commit
ee923c6822
19
README.md
19
README.md
@ -130,3 +130,22 @@ NOTE: PWD hooks are currently not supported for POSIX shells.
|
||||
- `$_ZO_MAXAGE`: sets the maximum total rank after which entries start getting deleted
|
||||
|
||||
[`dirs` documentation]: https://docs.rs/dirs/latest/dirs/fn.data_local_dir.html
|
||||
|
||||
## Notes
|
||||
|
||||
If you recently updated `zoxide` from an older version to `v0.3` and are
|
||||
seeing the following error:
|
||||
|
||||
```
|
||||
Error: could not deserialize old database
|
||||
|
||||
Caused by:
|
||||
io error: failed to fill whole buffer
|
||||
```
|
||||
|
||||
It is because v0.2 and v0.3 databases are incompatible. There is a script to
|
||||
automatically migrate your database to the new format, but it seems to be
|
||||
failing on some systems.
|
||||
|
||||
For a quick fix, you can try removing the old database file: `rm ~/.zo`
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user