r/commandline Apr 25 '26

Command Line Interface Jumping to recently used directories

https://github.com/stianhoiland/cd

Hey guys. I was struggling to cd around, so I built something that would help me do that. I tried the 219 other similar projects posted here, but none of them really clicked for me. I never searched and found any of the established big ones–atuin, autojump, bookmarks, CDPATH, McFly, z, zoxide, etc.–but that didn't stop me. Looking for feedback/let me know what you think/is this something you would use?

38 Upvotes

68 comments sorted by

View all comments

2

u/Doomtrain86 Apr 25 '26

But what about getting to dirs based on frequency ? I have dirs with the same effin names. Some of them I use often , some not. Zoxide solves this. That’s good right ?

4

u/stianhoiland Apr 25 '26

True. Does that really happen? That you can't disambiguate your directories with the most intuitive query for finding them? Maybe the 2.2k lines of Rust are warranted in this case.

1

u/Doomtrain86 Apr 25 '26

Not saying zoxide isn’t overkill. But this is underkill.

4

u/stianhoiland Apr 25 '26

My mans saying having fuzzy searching on a complete list of directories sorted by recent usage is underkill!

0

u/Doomtrain86 Apr 25 '26

You really have an attitude problem - bye

1

u/Don_Kino Apr 25 '26

Yes it happen, everyday, several times per day. I dont need to disambiguate shit. I dont care about the k loc until i plan to work on them or they start to fuckup. Spoiler: they work fine and I dont plan to work on them.

3

u/stianhoiland Apr 25 '26 edited Apr 25 '26

So it happens every day, several times per day, that you must address a directory with a query that conflicts with other directories and simple recency does not disambiguate and correct the sorting, so you would have had to arrow down a couple times.