ajeetdsouza / zoxide

A smarter cd command. Supports all major shells.
MIT License
20.33k stars 519 forks source link

Possible to get a list of previous dirs by time? #784

Open max-sixty opened 3 months ago

max-sixty commented 3 months ago

(thank you for zoxide, it's excellent!)

z or zi is great for frequently visited directories. But often I want to go to a directory I visited 20 minutes ago for the first time, and this would rank very low on zoxide's list, given that it only been hit once.

So a command that listed the most recently visited directories in descending time order would be really useful.

I'm not sure whether the data structure supports it, so maybe this would require a whole new data structure and so is out of scope, feel free to close if so...