← Back to context

Comment by jen729w

4 years ago

Would you mind if I (eventually) put this up on the site? This is gold.

Happy to link it back to this comment or any other profile you send my way.

Go for it! CDPATH is an underrated tool.

You can do a simpler version and just set

  CDPATH=/path/to/cjd

but then you'd have to tab through the e.g. "30-39" index directories first.

Or you could change the path in the find command to

  /path/to/cjd/*/*

and go to the final xx.yy directories directly, but it hardly saves you any keystrokes when you use tab completition.