So I was in Mountain View last week, helping the Mozilla Labs team re‐architect Bespin. Toward the end of the week, as we were doing some collaborative coding, I opened a terminal and typed j bespin
to bring me straight to my checkout of the Bespin source — and Kevin and Joe simultaneously went, “Wait, what’d you just do?” I realized I’d been using autojump — the cd
substitute that guesses what you mean — for over a year, and hadn’t yet pimped it to anyone. Use it! You’ll wonder where it’s been all your life.
Comments
awesome, I’ve been using aliases to give me quick commands to jump to directories but this is way better
Yea, truly awesome! Who want’s to use a pesky fast built-in like CDPATH when you could startup python every time you change directories.
Painfully obvious indeed.
great! thanks for sharing :)
People who understand the difference between the weak CDPATH and autojump and want the full power of autojump :)
I’ve been using this for a week now based on your recommendation. Getting a lot of use out of it, and although its use is not yet completely automatic, I can already feel it saving me time.
The one thing I don’t like is its use of [underscore-underscore] – as I happen to have some frequently used directories containing [underscore-underscore] at the start of their name (carried over from windows, where they sorted nicely at the top), and so I keep trying to jump to them based on that characteristic, and failing miserably.