z: Since latest update ~/.z seems to be ignored

Just updated to the latest commit. My ~/.z file is full of stuff.

cat .z | wc -l
     140

Howerver, z seems have started from scratch. z --list just shows the one directory I cd’ to after updating, likwise for z dir. Has the z file moved?

EDIT: Looking at the last commit, maybe it’s using a new format and the old file was not migrated? EDIT 2: Entries in ~/.z appear consistent.

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 20 (20 by maintainers)

Most upvoted comments

Hi, looks like it’s this commit: https://github.com/fisherman/z/commit/c69b75ca43eb5e0c44f02e683029b1932fe0be33

The default z file has moved to a location more consistent with best practices. you can set $Z_DATA to point back to ~/.z if you wish.