---
title: 'Quick Link: Terminal navigation utilities'
date: 2011-05-24 05:38
slug: quick-link-terminal-navigation-utilities
tags:
- navigation
- quicklink
- terminal
- utility
---

<img src="/uploads/2011/05/ttscoffbashprompt.jpg" alt="Bash prompt screenshot" title="Bash prompt" width="245" height="148" class="alignright size-full wp-image-2365 shadow" />If you follow me [on Twitter](https://twitter.com/#!/ttscoff), you've probably seen me express my adoration for [autojump](https://github.com/joelthelion/autojump), a command-line utility for navigating frequently-used folders. The only problem is that I deal with a lot of repetitive folder hierarchies; for example, the multiple site structures in my web development folder. `j css` almost certainly isn't going to take me to the one I was thinking of.

I found a couple of solutions this morning. There's a package called `cdargs` which lets you bookmark folders with short names, autocomplete bookmarks, use bookmarks in copy and move actions and list and visually select from all of your bookmarks. I had some conflicts on my system that prevented me from using it, though, so I went with a simpler solution: [bashmarks](http://www.huyng.com/bashmarks-directory-bookmarks-for-the-shell/) by Huy Nguyen.

Bashmarks lets me do most of what cdargs can do, but with a few less frills (and no conflicts with my setup). I can bookmark the css folder in my blog development folder `btcss`, and one in a client folder as `clientcss` and be able to quickly jump to the right one. Bashmarks provides autocomplete, too, so typing `g bt[tab]` gets me to btcss in a jiffy.

On the way, I also discovered a package called [z](https://github.com/rupa/z), which bills itself as "the new j" (in reference to autojump). It takes multiple arguments and uses them to more specifically match the folder you want to jump to. So, if I have a css folder in /brettterpstra/ and in /myclientsite/, I could type `z brett css` or `z client css` to distinguish between them. I haven't bothered with replacing autojump in my config files yet, but this looks promising.

---

Brett is a writer and developer living in Minnesota, USA. You can follow him as ttscoff. This content is supported by readers like you. [More about Brett](https://brettterpstra.com/contact.md), including social links.

Copyright © 2026 Brett Terpstra. All rights reserved.
