Looking for a solution to quickly navigate to long paths in a shell (particularly Max OS X Terminal.app).
Say my path is ~/This/Is/A/Really/Long/Path/That/I/Would/Rather/Not/Type/Frequently
Instead of cd ~/This/Is/A/….
I would like to be able to store favorites/bookmark directories so I could do “cd myPath”
Are there any binaries or tools available to do something like this?
I’ve found the packages ‘Apparix‘ and ‘Goto‘ which together make the stuff dreams are made of for us terminal junkies.
Naturally, I had trouble installing Apparix, but I figured it out in the end.
How To Install Apparix on Mac OS X:
./configure --prefix=$HOME/local && make && make install.man apparix, scroll down to the heading BASH-style functions, copy everything within that section (delimited with---) and paste it into~/.bash_profile.That’s it. You should now have Apparix up and running on OS X (further install info and usage is on Apparix’s homepage).