ajeetdsouza / zoxide

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

Feature request: Add directory history support #815

Closed jmg-duarte closed 1 month ago

jmg-duarte commented 1 month ago

Hey, thanks for the great project, I was skeptical at first but now I can't live without zoxide!

As for my feature, some context —I keep going back and forth with a mix of .. and friends, however, sometimes I overshoot or just want to go back to the directory I was in 3 z's back.

Having something like zhist that has an fzf interface to select one of previous directories would be amazing.

ajeetdsouza commented 1 month ago

Is this the same as https://github.com/ajeetdsouza/zoxide/issues/784? If we add a flag to sort directories by time, you should be able to view it in fzf, too.

jmg-duarte commented 1 month ago

Yes, it seems so, though I don't care for time or frequency, just the order. But it seems to, more or less, solve the same thing.

Apologies for the duplicate!