logoalt Hacker News

ruptwelvelast Thursday at 1:02 PM2 repliesview on HN

Maybe not a shell trick per-se but I have been a very big fan of zoxide. It can jump around your common directories. If you have a ~/workspace/projects and you are anywhere and type `cd projects` it will take you to that directory. I never realized how much I got hooked onto it, until I used a system without it.


Replies

jazoomyesterday at 9:57 PM

I just type "z p" in that case and that's enough to get me there.

llarssonlast Thursday at 6:21 PM

Built in functionality that may offer something similar:

https://linuxhandbook.com/cdpath/