Hacker News new | ask | show | jobs
by yumaikas 2856 days ago
I've found that using a bookmarking system helps cut down the use of cd a lot. That's the latest addition I've made to my terminal setup, and it's helped a lot.
1 comments

sounds useful. i cd often. can you expand on your bookmarking system?
One better, I can link you to it (I had written my own version at work, but ran across this and forked it to switch out the command names, since someone else had done it alreay)

https://github.com/yumaikas/bashmarks/blob/customized/README...

Developers will be doomed to reinvent bookmarking systems when all you really need to do is set CDPATH

Here's how to do it in ZSH:

https://robots.thoughtbot.com/cding-to-frequently-used-direc...

As an alternative, there's also fasd: https://github.com/clvv/fasd